feat: show confirm when deleting project

This commit is contained in:
2026-05-07 17:01:22 +02:00
parent 84afd15746
commit 73155dcb46
3 changed files with 137 additions and 23 deletions
@@ -10,7 +10,9 @@ export class ProjectManager {
'node.activeProjectId',
undefined
);
public readonly loading = $derived(this.graph?.id !== this.activeProjectId.value);
public readonly loading = $derived(
this.projects.length && this.graph?.id !== this.activeProjectId.value
);
constructor() {
this.init();