Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: do not close all dialogs when closing one dialog

thecodrrc89c56bd84b5
diff --git a/apps/web/src/common/dialog-controller.tsx b/apps/web/src/common/dialog-controller.tsx
index 630155785..ba872cac5 100644
--- a/apps/web/src/common/dialog-controller.tsx
+++ b/apps/web/src/common/dialog-controller.tsx
@@ -46,7 +46,6 @@ function showDialog<TId extends DialogIds, TReturnType>(
openDialogs[id] = false;
ReactDOM.unmountComponentAtNode(container);
container.remove();
- closeOpenedDialog();
resolve(result);
};
const PropDialog = render(Dialogs[id], perform);