perbaikan label master room

This commit is contained in:
Fuzi_fauzia 2024-07-12 15:25:32 +07:00
parent 13e5ee01d2
commit 9a0d0d919e
1 changed files with 2 additions and 2 deletions

View File

@ -35,10 +35,10 @@ export class AddEditMasterRoomComponent {
this.listDataStatus(); this.listDataStatus();
this.listDataBuilding(); this.listDataBuilding();
console.log(this.dataRow); console.log(this.dataRow);
if (this.mode) { if (this.mode === "add") {
this.labelRoom = "Add New Row" this.labelRoom = "Add New Row"
} else { } else {
this.labelRoom = "Add New Row" this.labelRoom = "Edit Row"
} }
if (this.dataRow) { if (this.dataRow) {
this.editForm(); this.editForm();