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. 31
      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'"> *ngIf="(calendarOptions$ | async) as calendarOptions"
<ng-container >
*ngIf="(calendarOptions$ | async) as calendarOptions" <full-calendar
> #ucCalendar
<full-calendar *ngIf="calendarOptions"
#ucCalendar [options]="calendarOptions"
*ngIf="calendarOptions" ></full-calendar>
[options]="calendarOptions" </ng-container>
></full-calendar> <ng-template #resourceContent let-resource="resource">
</ng-container> <op-principal
<ng-template #resourceContent let-resource="resource"> [principal]="resource.extendedProps.user"
<op-principal ></op-principal>
[principal]="resource.extendedProps.user" </ng-template>
></op-principal>
</ng-template>
</div>

Loading…
Cancel
Save