Fix download icon

This commit is contained in:
rijkvanzanten
2020-09-08 10:26:14 -04:00
parent b33f154ef4
commit 2d5928da77
2 changed files with 6 additions and 4 deletions

View File

@@ -38,7 +38,7 @@
<v-list dense>
<template v-if="file">
<v-list-item :download="file.filename_download" :href="assetURL">
<v-list-item-icon><v-icon name="file_download" /></v-list-item-icon>
<v-list-item-icon><v-icon name="get_app" /></v-list-item-icon>
<v-list-item-content>{{ $t('download_file') }}</v-list-item-content>
</v-list-item>
@@ -286,7 +286,7 @@ export default defineComponent({
img {
object-fit: contain;
filter: drop-shadow( 0px 0px 8px rgba(0, 0, 0, .25));
filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.25));
}
}
}

View File

@@ -22,7 +22,7 @@
:download="image.filename_download"
v-tooltip="$t('download')"
>
<v-icon name="file_download" />
<v-icon name="get_app" />
</v-button>
<v-button icon rounded @click="editorActive = true" v-tooltip="$t('edit')">
<v-icon name="crop_rotate" />
@@ -97,7 +97,9 @@ export default defineComponent({
}
if (image.value.type.includes('image')) {
return getRootPath() + `assets/${image.value.id}?key=system-large-cover&cache-buster=${cacheBuster.value}`;
return (
getRootPath() + `assets/${image.value.id}?key=system-large-cover&cache-buster=${cacheBuster.value}`
);
}
return null;