소스 검색

validación extra para formato de botones

EmilianoOrtiz 1 개월 전
부모
커밋
b02b518841
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;