Always show new entries as unsaved
This commit is contained in:
parent
9b93876484
commit
01f5cfa6e1
@ -332,6 +332,7 @@ export class EditorToolbar extends React.Component {
|
||||
onLogoutClick,
|
||||
t,
|
||||
editorBackLink,
|
||||
isNewEntry
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
@ -344,7 +345,7 @@ export class EditorToolbar extends React.Component {
|
||||
collectionLabel: collection.get('label'),
|
||||
})}
|
||||
</BackCollection>
|
||||
{hasChanged ? (
|
||||
{isNewEntry || hasChanged ? (
|
||||
<BackStatusChanged key="back-changed">{t('editor.editorToolbar.unsavedChanges')}</BackStatusChanged>
|
||||
) : (
|
||||
<BackStatusUnchanged key="back-unchanged">{t('editor.editorToolbar.changesSaved')}</BackStatusUnchanged>
|
||||
|
Loading…
x
Reference in New Issue
Block a user