perbaikan max lenght device
This commit is contained in:
parent
4c229e994a
commit
15ae21bf9c
|
@ -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)
|
||||
</a></span
|
||||
>
|
||||
</p>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<div class="media-body text-left">
|
||||
<h5 style="color: #ffffff">Kwh Consumption</h5>
|
||||
<h3 style="color: #ffffff">
|
||||
{{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(1) : 0 }} Kwh
|
||||
{{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(3) : 0 }} Kwh
|
||||
</h3>
|
||||
</div>
|
||||
<div class="align-self-center">
|
||||
|
|
|
@ -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.8.01)</span>
|
||||
<span>(v@2024.07.8.02)</span>
|
||||
</p>
|
||||
<!-- <div class="card-body">
|
||||
<a
|
||||
|
|
Loading…
Reference in New Issue