From 15ae21bf9c3d226853aff8c367dda1f74ff64d67 Mon Sep 17 00:00:00 2001 From: Fuzi_fauzia Date: Mon, 8 Jul 2024 15:17:23 +0700 Subject: [PATCH] perbaikan max lenght device --- src/app/_layout/footer/footer.component.html | 2 +- .../device/add-edit-device/add-edit-device.component.html | 2 ++ .../content/hemat-app/monitoring/detail/detail.component.html | 2 +- src/app/login/login.component.html | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/_layout/footer/footer.component.html b/src/app/_layout/footer/footer.component.html index 4c1c9fc..28d3469 100644 --- a/src/app/_layout/footer/footer.component.html +++ b/src/app/_layout/footer/footer.component.html @@ -13,7 +13,7 @@ href="https://allbestsistem.com/" target="_blank" style="background-color: #000000 !important;" - >Smart Building Management Systems (V@2024-07-8.01) + >Smart Building Management Systems (V@2024-07-8.02)

diff --git a/src/app/content/hemat-app/device/add-edit-device/add-edit-device.component.html b/src/app/content/hemat-app/device/add-edit-device/add-edit-device.component.html index 2caf4cd..7522d95 100644 --- a/src/app/content/hemat-app/device/add-edit-device/add-edit-device.component.html +++ b/src/app/content/hemat-app/device/add-edit-device/add-edit-device.component.html @@ -45,6 +45,7 @@ class="form-control" formControlName="name" placeholder="Device Name" + maxlength="50" [ngClass]="{ 'is-invalid': submitted && f.name.errors }" @@ -230,6 +231,7 @@ id="watt" class="form-control" formControlName="watt" + maxlength="10" placeholder="Watt" [ngClass]="{ 'is-invalid': submitted && f.watt.errors diff --git a/src/app/content/hemat-app/monitoring/detail/detail.component.html b/src/app/content/hemat-app/monitoring/detail/detail.component.html index 40ea79c..a948277 100644 --- a/src/app/content/hemat-app/monitoring/detail/detail.component.html +++ b/src/app/content/hemat-app/monitoring/detail/detail.component.html @@ -13,7 +13,7 @@
Kwh Consumption

- {{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(1) : 0 }} Kwh + {{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(3) : 0 }} Kwh

diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html index 6e3f3cf..5b186bb 100644 --- a/src/app/login/login.component.html +++ b/src/app/login/login.component.html @@ -138,7 +138,7 @@

- (v@2024.07.8.01) + (v@2024.07.8.02)