Browse Source

creación de rama - actualizacion en nombres de funciones registradas en notification-dialog

EmilianoOrtiz 1 week ago
parent
commit
44deb3fe50

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

@@ -160,8 +160,8 @@ export class NotificationDialogComponent implements OnInit {
       case 'validatePreventiveWorkOrder':
         this.validatePreventiveWorkOrder(paramsArr[0]);
         break;
-      case 'revalidatePreventiveWorkOrder':
-        this.revalidatePreventiveWorkOrder(paramsArr[0]);
+      case 'revalidatePreventiveVisit':
+        this.revalidatePreventiveVisit(paramsArr[0]);
         break;
       case 'attendPreventiveWorkOrder':
         this.attendPreventiveWorkOrder(paramsArr[0]);
@@ -564,7 +564,7 @@ export class NotificationDialogComponent implements OnInit {
     });
   }
 
-  private revalidatePreventiveWorkOrder(idOrder: string) {
+  private revalidatePreventiveVisit(idOrder: string) {
     let dialogRef = this._dialog.open(StaffSelectionComponent, {
       disableClose: true,
       width: '540px',