Skip to content

Commit

Permalink
[Angular] Simplify template for JvmMemoryComponent (#25041)
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert authored Feb 1, 2024
1 parent 4109701 commit 371ada9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
</span>

<div>Committed : {{ entry.value.committed / 1048576 | number: '1.0-0' }}M</div>
} @else {
<span><span>{{ entry.key }}</span> {{ entry.value.used / 1048576 | number: '1.0-0' }}M</span>
}
@if (entry.value.max !== -1) {
<ngb-progressbar
type="success"
[value]="(100 * entry.value.used) / entry.value.max"
Expand All @@ -41,6 +37,8 @@
>
<span>{{ (entry.value.used * 100) / entry.value.max | number: '1.0-0' }}%</span>
</ngb-progressbar>
} @else {
<span><span>{{ entry.key }}</span> {{ entry.value.used / 1048576 | number: '1.0-0' }}M</span>
}
</div>
}
Expand Down

0 comments on commit 371ada9

Please sign in to comment.