Bladeren bron

validación extra para formato de botones

EmilianoOrtiz 4 weken geleden
bovenliggende
commit
b02b518841
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      src/app/components/template/notification-dialog/notification-dialog.component.ts

+ 2 - 0
src/app/components/template/notification-dialog/notification-dialog.component.ts

@@ -83,6 +83,8 @@ export class NotificationDialogComponent implements OnInit {
       if (!this.hasError) {
         let notificationActionsArr: NotificationAction[] = JSON.parse(
           notification.response.ACCIONES
+        ).filter((action: any) => 
+          action.BOTON && action.FUNCION && action.PARAMETROS
         );
 
         notification.response.ACCIONES_ARR = notificationActionsArr;