perbaikan edit master

This commit is contained in:
Fuzi_fauzia 2024-07-22 15:21:50 +07:00
parent 3b3757e2a7
commit 2a6cf6410d
3 changed files with 10 additions and 4 deletions

View File

@ -13,7 +13,7 @@
href="https://allbestsistem.com/"
target="_blank"
style="background-color: #ffffff !important;"
>Smart Building Management Systems (V@2024-07-22.01)
>Smart Building Management Systems (V@2024-07-22.03)
</a></span
>
</p>

View File

@ -85,7 +85,7 @@ export class MasterRoomComponent {
if (result) {
const filteredData = {
name: result.name,
code: result.code,
code: result.code.trim(),
description: result.description,
};
this.monitoringApiService
@ -122,13 +122,19 @@ export class MasterRoomComponent {
const filteredData = {
id: result.roomId,
name: result.name,
code: result.code,
code: result.code.trim(),
description: result.description,
};
this.monitoringApiService
.putMasterRoomParam(filteredData, row.id)
.subscribe((res) => {
this.fetchData();
}, (error) => {
console.error(error);
this.toastr.error("Error", error.error.message, {
timeOut: 2000,
closeButton: true,
});
});
}
},

View File

@ -138,7 +138,7 @@
<p
class="card-subtitle line-on-side text-muted text-center font-small-3 mx-2 my-1"
>
<span>(v@2024.07.22.01)</span>
<span>(v@2024.07.22.03)</span>
</p>
<!-- <div class="card-body">
<a