Project

General

Profile

« Previous | Next » 

Revision 61408

[Monitor Dashboard | Trunk]: Update to angular 11

View differences:

indicators.component.ts
83 83
  public numberResults: Map<string, number> = new Map<string, number>();
84 84
  private subscriptions: any[] = [];
85 85
  private urlSubscriptions: any[] = [];
86
  @ViewChild('editChartModal') editChartModal: AlertModal;
87
  @ViewChild('editNumberModal') editNumberModal: AlertModal;
88
  @ViewChild('deleteModal') deleteModal: AlertModal;
86
  @ViewChild('editChartModal', { static: true }) editChartModal: AlertModal;
87
  @ViewChild('editNumberModal', { static: true }) editNumberModal: AlertModal;
88
  @ViewChild('deleteModal', { static: true }) deleteModal: AlertModal;
89 89
  //@ViewChild('deleteAllModal') deleteAllModal: AlertModal;
90 90
  //@ViewChild('deleteAndDisconnectModal') deleteAndDisconnectModal: AlertModal;
91 91
  //@ViewChild('deleteChartSectionModal') deleteChartSectionModal: AlertModal;
92 92
  //@ViewChild('deleteNumberSectionModal') deleteNumberSectionModal: AlertModal;
93
  @ViewChild('deleteSectionModal') deleteSectionModal: AlertModal;
93
  @ViewChild('deleteSectionModal', { static: true }) deleteSectionModal: AlertModal;
94 94
  public sectionTypeToDelete: string;
95 95
  public sectionChildrenActionOnDelete: string;
96 96
  public indicatorChildrenActionOnDelete: string;
......
99 99
  urlParameterizedMessage = null;
100 100
  showCheckForSchemaEnhancements:boolean = false;
101 101
  private notification: Notification;
102
  @ViewChild('editNumberNotify') editNumberNotify: NotifyFormComponent;
103
  @ViewChild('editChartNotify') editChartNotify: NotifyFormComponent;
104
  @ViewChild('deleteNotify') deleteNotify: NotifyFormComponent;
102
  @ViewChild('editNumberNotify', { static: true }) editNumberNotify: NotifyFormComponent;
103
  @ViewChild('editChartNotify', { static: true }) editChartNotify: NotifyFormComponent;
104
  @ViewChild('deleteNotify', { static: true }) deleteNotify: NotifyFormComponent;
105 105
  constructor(private layoutService: LayoutService,
106 106
              private stakeholderService: StakeholderService,
107 107
              private statisticsService: StatisticsService,

Also available in: Unified diff