Skip to content

Commit e00c02c

Browse files
committed
fix(kanban): disable preview fallback for empty project lists and show real empty state
1 parent e38885c commit e00c02c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/app/features/projects/components/project-kanban/project-kanban.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,10 @@ export class ProjectKanbanComponent implements OnInit, OnDestroy {
641641
.subscribe({
642642
next: (projects) => {
643643
if (projects.length === 0) {
644-
this.loadPreviewBoard('No projects were returned. Showing preview Kanban board.');
644+
this.projects = [];
645+
this.selectedProjectId = null;
646+
this.clearTasks();
647+
this.isLoadingProjects = false;
645648
return;
646649
}
647650

0 commit comments

Comments
 (0)