We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 799599e + a62338f commit e9292d0Copy full SHA for e9292d0
packages/frontend/src/stores/notes.ts
@@ -119,6 +119,10 @@ export const useNotesStore = defineStore("notes", () => {
119
}
120
121
} catch (error) {
122
+ const errorMessage = error instanceof Error ? error.message : String(error);
123
+ if (errorMessage.includes("No project found")) {
124
+ return;
125
+ }
126
sdk.window.showToast(`Error loading note tree: ${error}`, {
127
variant: "error",
128
});
0 commit comments