We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9376a2c commit 84d5ef8Copy full SHA for 84d5ef8
src/app/management-view/management-view.component.ts
@@ -188,6 +188,13 @@ export class ManagementViewComponent implements OnInit{
188
if (this.inputIncidentEndDate.nativeElement.value) {
189
this.editingIncident.endedAt = formatQueryDate(dayjs(this.inputIncidentEndDate.nativeElement.value).utc());
190
}
191
+ if (!this.editingIncident.phase) {
192
+ this.editingIncident.phase = {
193
+ generation: 1,
194
+ order: 0
195
+ };
196
+ }
197
+ this.editingIncident.phase.order = parseInt(this.inputIncidentPhase.nativeElement.value) ?? 0;
198
this.waitState = WS_PROCESSING;
199
this.waitSpinnerDialog.nativeElement.showModal();
200
this.handleResponse(this.data.createIncident(this.editingIncident), this.incidentDialog);
0 commit comments