Skip to content

Commit

Permalink
Fix popup react error key missing (#261)
Browse files Browse the repository at this point in the history
## Describe your changes
just fix a missing key on react (error on chrome extension log)
## Issue ticket number and link
none
## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [ ] I documented the changes I've made on the
[CHANGES.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/CHANGES.md)
and followed actual conventions
- [ ] I added a new section on
[how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md)
(optional)
  • Loading branch information
dufoli authored Jan 3, 2024
1 parent 39e7c9e commit ce14fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ class AllDataSelection extends React.PureComponent {
h(ShowDetailsButton, {ref: "showDetailsBtn", sfHost, showDetailsSupported, selectedValue, contextRecordId}),
selectedValue.recordId && selectedValue.recordId.startsWith("0Af")
? h("a", {href: this.getDeployStatusUrl(), target: linkTarget, className: "button page-button slds-button slds-button_neutral slds-m-top_xx-small slds-m-bottom_xx-small"}, "Check Deploy Status") : null,
buttons.map((button, index) => h("div", {}, h("a",
buttons.map((button, index) => h("div", {key: button + "Div"}, h("a",
{
key: button,
// If buttons for both APIs are shown, the keyboard shortcut should open the first button.
Expand Down

0 comments on commit ce14fe2

Please sign in to comment.