Merge pull request #13771 from vvlladd28/bug/alarm-table/assign-widget-editor

Fix error message in Alarm widget preview when opening Assign field dropdown
This commit is contained in:
Igor Kulikov 2025-07-25 14:10:23 +03:00 committed by GitHub
commit b698f78e1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1187,8 +1187,9 @@ export class AlarmsTableWidgetComponent extends PageComponent implements OnInit,
}
openAlarmAssigneePanel($event: Event, entity: AlarmInfo) {
if ($event) {
$event.stopPropagation();
$event?.stopPropagation();
if (entity.id.id === NULL_UUID) {
return
}
const target = $event.target || $event.currentTarget;
const config = new OverlayConfig();