Fix property key iterator
This commit is contained in:
parent
5b269274b6
commit
3eb30e5b1e
@ -93,6 +93,7 @@ export default class EditorToolbar extends React.Component {
|
||||
|
||||
return [
|
||||
<button
|
||||
key="save-button"
|
||||
className="nc-entryEditor-toolbar-saveButton"
|
||||
onClick={() => hasChanged && onPersist()}
|
||||
>
|
||||
@ -100,6 +101,7 @@ export default class EditorToolbar extends React.Component {
|
||||
</button>,
|
||||
isNewEntry || !deleteLabel ? null
|
||||
: <button
|
||||
key="delete-button"
|
||||
className="nc-entryEditor-toolbar-deleteButton"
|
||||
onClick={hasUnpublishedChanges ? onDeleteUnpublishedChanges : onDelete}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user