Set correct hasChanged
and set it on all entry persistence actions
This commit is contained in:
@ -241,8 +241,8 @@ export function persistUnpublishedEntry(collection, existingUnpublishedEntry) {
|
||||
kind: 'success',
|
||||
dismissAfter: 4000,
|
||||
}));
|
||||
dispatch(closeEntry());
|
||||
dispatch(unpublishedEntryPersisted(collection, entry, transactionID));
|
||||
dispatch(closeEntry());
|
||||
})
|
||||
.catch((error) => {
|
||||
dispatch(notifSend({
|
||||
|
@ -243,8 +243,8 @@ export function persistEntry(collection) {
|
||||
kind: 'success',
|
||||
dismissAfter: 4000,
|
||||
}));
|
||||
dispatch(closeEntry(collection));
|
||||
dispatch(entryPersisted(collection, entry));
|
||||
dispatch(closeEntry(collection));
|
||||
})
|
||||
.catch((error) => {
|
||||
dispatch(notifSend({
|
||||
|
Reference in New Issue
Block a user