@if (isLoading()) {

Loading project...

} @else if (errorMessage()) {

{{ errorMessage() }}

} @else {

{{ project()?.name }}

Project description:

{{ project()?.description || 'No description available.' }}

Collaborators

{{ project()?.users?.length ?? 0 }} total
@if ((project()?.users?.length ?? 0) > 0) {
@for (user of project()?.users ?? []; track user.id) { }
} @else {

No collaborators yet.

}

Tasks

{{ project()?.tasks?.length ?? 0 }} total
@if ((project()?.tasks?.length ?? 0) > 0) {
@for (task of project()?.tasks ?? []; track task.id) { }
} @else {

No tasks yet.

}

Danger zone

Actions that affect this project permanently.

Edit project details

Update the project name or description.

Delete project

This will remove the project and all associated data.

}