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();