|
|
|
@ -49,18 +49,27 @@ |
|
|
|
|
</spot-text-field> |
|
|
|
|
|
|
|
|
|
<ng-container *ngIf="(loading$ | async) === false; else loadingTemplate"> |
|
|
|
|
<ul |
|
|
|
|
class="op-project-include--list" |
|
|
|
|
op-project-list |
|
|
|
|
[projects]="projects$ | async" |
|
|
|
|
[selected]="selectedProjects" |
|
|
|
|
[includeSubprojects]="includeSubprojects$ | async" |
|
|
|
|
[searchText]="searchableProjectListService.searchText" |
|
|
|
|
[root]="true" |
|
|
|
|
(update)="selectedProjects = $event" |
|
|
|
|
data-qa-selector="project-include-list" |
|
|
|
|
data-list-root="true" |
|
|
|
|
></ul> |
|
|
|
|
<ng-container *ngIf="(projects$ | async) as projects"> |
|
|
|
|
<ul |
|
|
|
|
*ngIf="projects.length > 0; else noResultsTemplate" |
|
|
|
|
class="op-project-include--list" |
|
|
|
|
op-project-list |
|
|
|
|
[projects]="projects" |
|
|
|
|
[selected]="selectedProjects" |
|
|
|
|
[includeSubprojects]="includeSubprojects$ | async" |
|
|
|
|
[searchText]="searchableProjectListService.searchText" |
|
|
|
|
[root]="true" |
|
|
|
|
(update)="selectedProjects = $event" |
|
|
|
|
data-qa-selector="project-include-list" |
|
|
|
|
data-list-root="true" |
|
|
|
|
></ul> |
|
|
|
|
|
|
|
|
|
<ng-template #noResultsTemplate> |
|
|
|
|
<span class="op-project-list-modal--no-results"> |
|
|
|
|
{{text.no_results}} |
|
|
|
|
</span> |
|
|
|
|
</ng-template> |
|
|
|
|
</ng-container> |
|
|
|
|
</ng-container> |
|
|
|
|
|
|
|
|
|
<div class="spot-action-bar"> |
|
|
|
|