UI: Fix error message in Alarm widget preview when opening Assign field dropdown
This commit is contained in:
		
							parent
							
								
									203a2c8409
								
							
						
					
					
						commit
						3b5b3fe143
					
				@ -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();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user