diff --git a/packages/client/src/components/MkDriveFileThumbnail.vue b/packages/client/src/components/MkDriveFileThumbnail.vue index 2035ce5f66..b2bd21a22b 100644 --- a/packages/client/src/components/MkDriveFileThumbnail.vue +++ b/packages/client/src/components/MkDriveFileThumbnail.vue @@ -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, } ); diff --git a/packages/client/src/components/MkImgWithBlurhash.vue b/packages/client/src/components/MkImgWithBlurhash.vue index 6f177483b5..3a09959255 100644 --- a/packages/client/src/components/MkImgWithBlurhash.vue +++ b/packages/client/src/components/MkImgWithBlurhash.vue @@ -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 }, ); diff --git a/packages/client/src/components/MkPostFormAttaches.vue b/packages/client/src/components/MkPostFormAttaches.vue index 5b1992899f..d7910e75bd 100644 --- a/packages/client/src/components/MkPostFormAttaches.vue +++ b/packages/client/src/components/MkPostFormAttaches.vue @@ -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>