From 9a0d0d919e790a9c5fbbcd86cd3f0cd2bb73e9b5 Mon Sep 17 00:00:00 2001 From: Fuzi_fauzia Date: Fri, 12 Jul 2024 15:25:32 +0700 Subject: [PATCH] perbaikan label master room --- .../add-edit-master-room/add-edit-master-room.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/content/hemat-app/master/master-room/add-edit-master-room/add-edit-master-room.component.ts b/src/app/content/hemat-app/master/master-room/add-edit-master-room/add-edit-master-room.component.ts index fd62919..bd87287 100644 --- a/src/app/content/hemat-app/master/master-room/add-edit-master-room/add-edit-master-room.component.ts +++ b/src/app/content/hemat-app/master/master-room/add-edit-master-room/add-edit-master-room.component.ts @@ -35,10 +35,10 @@ export class AddEditMasterRoomComponent { this.listDataStatus(); this.listDataBuilding(); console.log(this.dataRow); - if (this.mode) { + if (this.mode === "add") { this.labelRoom = "Add New Row" } else { - this.labelRoom = "Add New Row" + this.labelRoom = "Edit Row" } if (this.dataRow) { this.editForm();