another ngStyle quickfix

This commit is contained in:
nixa 2016-05-05 14:02:44 +03:00
parent 38634e7b79
commit b09280e5e4

View file

@ -19,7 +19,7 @@
<p>{{ item.label }}<span class="channel-number">+{{ item.percentage }}%</span></p>
<div class="progress progress-sm channel-progress">
<div class="progress-bar" role="progressbar"
[attr.aria-valuenow]="item.percentage" aria-valuemin="0" aria-valuemax="100" style="width: {{ item.percentage }}%">
[attr.aria-valuenow]="item.percentage" aria-valuemin="0" aria-valuemax="100" [ngStyle]="{width: item.percentage + '%' }">
</div>
</div>
</div>