mirror of
https://github.com/directus/directus.git
synced 2026-01-25 21:18:31 -05:00
Fix download icon
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user