chore: use camelCase
This commit is contained in:
parent
cc41f255fd
commit
506714d8af
3 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
:alt="file.comment"
|
||||
:title="file.name"
|
||||
:cover="fit !== 'contain'"
|
||||
:show_alt_indicator="show_alt_indicator"
|
||||
:show-alt-indicator="showAltIndicator"
|
||||
/>
|
||||
<i v-else-if="is === 'image'" :class="icon('ph-file-image icon')"></i>
|
||||
<i v-else-if="is === 'video'" :class="icon('ph-file-video icon')"></i>
|
||||
|
@ -38,10 +38,10 @@ const props = withDefaults(
|
|||
defineProps<{
|
||||
file: entities.DriveFile;
|
||||
fit: string;
|
||||
show_alt_indicator?: boolean
|
||||
showAltIndicator?: boolean
|
||||
}>(),
|
||||
{
|
||||
show_alt_indicator: false,
|
||||
showAltIndicator: false,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<i
|
||||
class="alt-indicator"
|
||||
:class="icon('ph-subtitles')"
|
||||
v-if="alt && show_alt_indicator"
|
||||
v-if="alt && showAltIndicator"
|
||||
v-tooltip.noLabel="
|
||||
`${i18n.ts.alt}: ${
|
||||
alt.length > 200
|
||||
|
@ -51,7 +51,7 @@ const props = withDefaults(
|
|||
size?: number;
|
||||
cover?: boolean;
|
||||
largestDimension?: "width" | "height";
|
||||
show_alt_indicator?: boolean
|
||||
showAltIndicator?: boolean
|
||||
}>(),
|
||||
{
|
||||
src: null,
|
||||
|
@ -60,7 +60,7 @@ const props = withDefaults(
|
|||
title: null,
|
||||
size: 64,
|
||||
cover: true,
|
||||
show_alt_indicator: false
|
||||
showAltIndicator: false
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
class="thumbnail"
|
||||
:file="element"
|
||||
fit="cover"
|
||||
:show_alt_indicator="true"
|
||||
:show-alt-indicator="true"
|
||||
/>
|
||||
<div v-if="element.isSensitive" class="sensitive">
|
||||
<i :class="icon('ph-warning icon')"></i>
|
||||
|
|
Loading…
Reference in a new issue