Skip to content

Commit

Permalink
Merge pull request #5284 from jay-hodgson/SWC-6631
Browse files Browse the repository at this point in the history
SWC-6631: entity updated event can cause place change.  On save, we a…
  • Loading branch information
jay-hodgson authored Feb 7, 2024
2 parents 48a1507 + 7aa26a0 commit a85eb33
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,9 @@ public DatasetEditorProps getItemsEditorProps() {
DisplayUtils.NotificationVariant.SUCCESS,
toastOptions
);
eventBus.fireEvent(new EntityUpdatedEvent(tableId));
ginInjector.getGlobalApplicationState().setIsEditing(false);
closeItemsEditor();
eventBus.fireEvent(new EntityUpdatedEvent(tableId));
},
() -> closeItemsEditor(),
hasUnsavedChanges ->
Expand Down

0 comments on commit a85eb33

Please sign in to comment.