浏览代码

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

EmilianoOrtiz 1 周之前
父节点
当前提交
44deb3fe50
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/app/components/template/notification-dialog/notification-dialog.component.ts

+ 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',