Add _id field to Acknowledge Incident and Resolve Incident elements

This commit is contained in:
Simon Larsen
2024-04-25 18:50:13 +01:00
parent 1cf208387f
commit 695f16ca1e
2 changed files with 12 additions and 0 deletions

View File

@@ -300,6 +300,9 @@ const IncidentView: FunctionComponent<PageComponentProps> = (
},
},
{
field: {
_id: true,
},
title: 'Acknowledge Incident',
fieldType: FieldType.Element,
getElement: (
@@ -326,6 +329,9 @@ const IncidentView: FunctionComponent<PageComponentProps> = (
},
},
{
field: {
_id: true,
},
title: 'Resolve Incident',
fieldType: FieldType.Element,
getElement: (

View File

@@ -380,6 +380,9 @@ const ScheduledMaintenanceView: FunctionComponent<PageComponentProps> = (
},
},
{
field: {
_id: true,
},
title: 'Change State to Ongoing',
fieldType: FieldType.Element,
getElement: (
@@ -406,6 +409,9 @@ const ScheduledMaintenanceView: FunctionComponent<PageComponentProps> = (
},
},
{
field: {
_id: true,
},
title: 'Change State to Completed',
fieldType: FieldType.Element,
getElement: (