Remove tooltip on opening split view

pull/9957/head
Oliver Günther 3 years ago
parent 8b2c8857a1
commit 8f90b6d12d
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 5
      frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts

@ -299,6 +299,11 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
private openSplitView(event:EventClickArg):void {
const workPackage = event.event.extendedProps.workPackage as WorkPackageResource;
if (event.el) {
// do not display the tooltip on the wp show page
this.calendar.removeTooltip(event.el);
}
void this.$state.go(
`${splitViewRoute(this.$state)}.tabs`,
{ workPackageId: workPackage.id, tabIdentifier: 'overview' },

Loading…
Cancel
Save