@for (project of filteredProjects; track project; let i = $index; let isFirst = $first; let isLast = $last) {
  • @if (!project.disabled) { @if (favorited?.includes(project.id.toString())) { } @switch (project._type) { @case ('Portfolio') { {{ this.I18n.t('js.include_workspaces.types.portfolio') }} } @case ('Program') { {{ this.I18n.t('js.include_workspaces.types.program') }} } } @if (currentProjectService.id === project.id.toString()) { } } @if (project.disabled) { {{ project.name }} @switch (project._type) { @case ('Portfolio') { {{ this.I18n.t('js.include_workspaces.types.portfolio') }} } @case ('Program') { {{ this.I18n.t('js.include_workspaces.types.program') }} } } } @if (project.children.length) { }
  • }