fix(AlertReports): clearing custom_width when disabled (#27551)
This commit is contained in:
parent
30b497e758
commit
0f6e4041c7
|
|
@ -611,6 +611,7 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
|
|||
chart: contentType === 'chart' ? currentAlert?.chart?.value : null,
|
||||
dashboard:
|
||||
contentType === 'dashboard' ? currentAlert?.dashboard?.value : null,
|
||||
custom_width: isScreenshot ? currentAlert?.custom_width : undefined,
|
||||
database: currentAlert?.database?.value,
|
||||
owners: (currentAlert?.owners || []).map(
|
||||
owner => (owner as MetaObject).value || owner.id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue