Merge pull request #9939 from opf/fix/team-planner-loading-indicator

Fix loading indicator on team planner
pull/9944/head
Henriette Darge 3 years ago committed by GitHub
commit 5cc506e783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      frontend/src/app/features/team-planner/team-planner/page/team-planner-page.component.ts
  2. 13
      frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html

@ -77,10 +77,6 @@ export class TeamPlannerPageComponent extends PartitionedQuerySpacePageComponent
); );
} }
protected set loadingIndicator(promise:Promise<unknown>) {
this.loadingIndicatorService.indicator('calendar-entry').promise = promise;
}
/** /**
* We need to set the current partition to the grid to ensure * We need to set the current partition to the grid to ensure
* either side gets expanded to full width if we're not in '-split' mode. * either side gets expanded to full width if we're not in '-split' mode.

@ -1,17 +1,14 @@
<div class="op-team-planner loading-indicator--location" <ng-container
[attr.data-indicator-name]="'table'">
<ng-container
*ngIf="(calendarOptions$ | async) as calendarOptions" *ngIf="(calendarOptions$ | async) as calendarOptions"
> >
<full-calendar <full-calendar
#ucCalendar #ucCalendar
*ngIf="calendarOptions" *ngIf="calendarOptions"
[options]="calendarOptions" [options]="calendarOptions"
></full-calendar> ></full-calendar>
</ng-container> </ng-container>
<ng-template #resourceContent let-resource="resource"> <ng-template #resourceContent let-resource="resource">
<op-principal <op-principal
[principal]="resource.extendedProps.user" [principal]="resource.extendedProps.user"
></op-principal> ></op-principal>
</ng-template> </ng-template>
</div>

Loading…
Cancel
Save