perbaikan edit master
This commit is contained in:
parent
3b3757e2a7
commit
2a6cf6410d
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue