reset the app icon on show

This commit is contained in:
Girish Ramakrishnan
2019-06-21 12:40:38 -07:00
parent 712883373a
commit c550416c9d
2 changed files with 21 additions and 17 deletions

View File

@@ -157,7 +157,7 @@
<label class="control-label">Icon</label>
<a href="" class="pull-right" style="font-weight: normal;" ng-click="appConfigure.resetCustomIcon()">Reset Icon</a>
</div>
<div id="previewIcon" class="app-custom-icon" ng-click="appConfigure.showCustomIconSelector()" style="background-image: url('{{appConfigure.icon.data || appConfigure.icon.url || appConfigure.app.iconUrl}}');">
<div id="previewIcon" class="app-custom-icon" ng-click="appConfigure.showCustomIconSelector()" style="background-image: url('{{appConfigure.iconUrl()}}');">
<div class="overlay"></div>
</div>
<input type="file" id="iconFileInput" style="display: none" accept="image/png"/>