Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Copy Markdown
Contributor

@nickofthyme nickofthyme Sep 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this may solve the issue for dashboards but the modal logic is not consistently expecting the onSave call to return a promise all the way up the call stack to the root async function performing the save.

That said I think it's still worth merging this PR and giving @kvanerum credit for the fix until #233933 get reviewed and merged.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const DashboardSaveModal: React.FC<DashboardSaveModalProps> = ({
newCopyOnSave,
isTitleDuplicateConfirmed,
onTitleDuplicate,
}) => {
}) =>
onSave({
newTitle,
newDescription,
Expand All @@ -74,8 +74,7 @@ export const DashboardSaveModal: React.FC<DashboardSaveModalProps> = ({
isTitleDuplicateConfirmed,
onTitleDuplicate,
newTags: selectedTags,
});
},
}),
[onSave, persistSelectedTimeInterval, selectedTags]
);

Expand Down