@if (!collapsed() && expanded()) {
}
@if (state().loading) {
{{ 'XP.Sidebar.LoadingWorkspaces' | translate }}
} @else if (state().error) {
{{ state().error }}
} @else {
@for (workspace of visibleWorkspaces(); track workspace.id) {
-
{{ workspace.name }}
} @empty {
-
{{ (showAll() ? 'XP.Sidebar.NoWorkspaces' : 'XP.Sidebar.NoRecentWorkspaces') | translate }}
}
@if (showAll() || state().items.length > recentWorkspaces().length) {
}
}