We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 001cee1 + 25b225d commit 2fa0279Copy full SHA for 2fa0279
src/dashboard/sidebar/DashboardSidebar.tsx
@@ -512,7 +512,7 @@ export const NeoDashboardSidebar = ({
512
saved={!(draft && selectedDashboardIndex == d.index)}
513
readonly={readonly}
514
onSelect={() => {
515
- if (draft) {
+ if (draft && d.index !== selectedDashboardIndex) {
516
setInspectedIndex(d.index);
517
setModalOpen(Modal.LOAD);
518
} else {
0 commit comments