Skip to content

Commit

Permalink
Merge branch 'develop' into feature/customer_N_dashboard_RBAC_label
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdejong authored Feb 28, 2024
2 parents ca59f09 + 2fa0279 commit 7bd6f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/sidebar/DashboardSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export const NeoDashboardSidebar = ({
saved={!(draft && selectedDashboardIndex == d.index)}
readonly={readonly}
onSelect={() => {
if (draft) {
if (draft && d.index !== selectedDashboardIndex) {
setInspectedIndex(d.index);
setModalOpen(Modal.LOAD);
} else {
Expand Down

0 comments on commit 7bd6f7a

Please sign in to comment.