Skip to content

Commit

Permalink
SWC-6631: entity updated event can cause place change. On save, we ar…
Browse files Browse the repository at this point in the history
…e no longer editing
  • Loading branch information
jay-hodgson committed Feb 6, 2024
1 parent 48a1507 commit 7aa26a0
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 7aa26a0

Please sign in to comment.