Skip to content

Commit

Permalink
Fix string id in links table
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenhelium authored and tnagorra committed May 28, 2018
1 parent 6e1ecdc commit 2f19344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export default class EditStringModal extends React.PureComponent {

const saveButtonDisabled = inputValue === string.id;
const Properties = this.renderProperties;
console.warn(inputValue, editLinkId);

return (
<Modal>
Expand Down
2 changes: 1 addition & 1 deletion src/views/StringManagement/Detail/LinksTable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default class LinksTable extends React.PureComponent {
modifier: data => (
<Fragment>
<WarningButton
onClick={() => { this.handleEditButtonClick(data.id); }}
onClick={() => { this.handleEditButtonClick(data.stringId); }}
iconName={iconNames.edit}
transparent
smallVerticalPadding
Expand Down

0 comments on commit 2f19344

Please sign in to comment.