Make reset show the original icon
This commit is contained in:
@@ -111,9 +111,9 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label">Icon</label>
|
||||
<a href="" class="pull-right" style="font-weight: normal;" ng-click="appConfigure.icon.data = ''">Reset</a>
|
||||
<a href="" class="pull-right" style="font-weight: normal;" ng-click="appConfigure.resetCustomIcon()">Reset</a>
|
||||
<div>
|
||||
<img id="previewIcon" width="128" height="128" ng-src="{{appConfigure.icon.data || appConfigure.app.iconUrl}}" ng-click="appConfigure.showCustomIconSelector()"/>
|
||||
<img id="previewIcon" width="128" height="128" ng-src="{{appConfigure.icon.data || appConfigure.icon.url || appConfigure.app.iconUrl}}" ng-click="appConfigure.showCustomIconSelector()"/>
|
||||
<input type="file" id="iconFileInput" style="display: none" accept="image/png"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user