chore: use camelCase

This commit is contained in:
naskya 2024-03-25 23:32:20 +09:00
parent cc41f255fd
commit 506714d8af
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
3 changed files with 7 additions and 7 deletions

View file

@ -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,
}
);

View file

@ -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
},
);

View file

@ -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>