Fix auto-expanding the edit screen for widgets

This commit is contained in:
Travis Ralston 2017-12-23 13:17:29 -07:00
parent fce6f2174a
commit 00b7ddcc1a

View File

@ -1,7 +1,7 @@
<div *ngIf="isLoading">
<div *ngIf="widgetComponent.isLoading">
<my-spinner></my-spinner>
</div>
<div *ngIf="!isLoading">
<div *ngIf="!widgetComponent.isLoading">
<my-ibox [isCollapsible]="true" [defaultCollapsed]="widgetComponent.defaultExpandedWidgetId">
<h5 class="my-ibox-title">
<i class="far fa-plus-square"></i> Add {{ widgetComponent.defaultName }}