diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-06-05 17:07:04 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | a045159637cb9f6b4fee7e2850a23459f0c955b8 (patch) | |
tree | 462aece4f5548e783065226e9612f6cc221bc4c5 /settings/src | |
parent | 71524149033493ec11556fa2b8a24a82b7eac240 (diff) | |
download | nextcloud-server-a045159637cb9f6b4fee7e2850a23459f0c955b8.tar.gz nextcloud-server-a045159637cb9f6b4fee7e2850a23459f0c955b8.zip |
Use icon instead of screenshot in the list view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/src')
-rw-r--r-- | settings/src/components/appList/appItem.vue | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/settings/src/components/appList/appItem.vue b/settings/src/components/appList/appItem.vue index 47f3f3f42bf..5a4a503f3c9 100644 --- a/settings/src/components/appList/appItem.vue +++ b/settings/src/components/appList/appItem.vue @@ -23,10 +23,9 @@ <template> <div class="section" v-bind:class="{ selected: isSelected }" v-on:click="showAppDetails"> <div class="app-image app-image-icon" v-on:click="showAppDetails"> - <div v-if="!app.preview" class="icon-settings-dark"></div> - <img v-if="!app.previewAsIcon && app.preview && listView" :src="app.preview" width="100%" /> + <div v-if="(listView && !app.preview) || (!listView && !app.screenshot)" class="icon-settings-dark"></div> - <svg v-if="listView && app.previewAsIcon && app.preview" width="32" height="32" viewBox="0 0 32 32"> + <svg v-if="listView && app.preview" width="32" height="32" viewBox="0 0 32 32"> <defs><filter :id="filterId"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs> <image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" :filter="filterUrl" :xlink:href="app.preview" class="app-icon"></image> </svg> |