mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-29 09:58:36 +01:00
画像以外のファイルのプレビューに対応したのでコメントを削除
This commit is contained in:
parent
8a464823ed
commit
33051f06d5
1 changed files with 0 additions and 2 deletions
|
@ -10,7 +10,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
:class="[$style.img, { [$style.square]: square }]"
|
:class="[$style.img, { [$style.square]: square }]"
|
||||||
@click="showingFiles.add(file.id)"
|
@click="showingFiles.add(file.id)"
|
||||||
>
|
>
|
||||||
<!-- TODO: 画像以外のファイルに対応 -->
|
|
||||||
<ImgWithBlurhash
|
<ImgWithBlurhash
|
||||||
v-if="FILE_TYPE_BROWSERSAFE.includes(file.type) && (file.type.startsWith('image/') || (file.type.startsWith('video/') && file.thumbnailUrl != null))"
|
v-if="FILE_TYPE_BROWSERSAFE.includes(file.type) && (file.type.startsWith('image/') || (file.type.startsWith('video/') && file.thumbnailUrl != null))"
|
||||||
:class="$style.sensitiveImg"
|
:class="$style.sensitiveImg"
|
||||||
|
@ -28,7 +27,6 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<MkA v-else :class="[$style.img, { [$style.square]: square }]" :to="notePage(note)">
|
<MkA v-else :class="[$style.img, { [$style.square]: square }]" :to="notePage(note)">
|
||||||
<!-- TODO: 画像以外のファイルに対応 -->
|
|
||||||
<ImgWithBlurhash
|
<ImgWithBlurhash
|
||||||
v-if="FILE_TYPE_BROWSERSAFE.includes(file.type) && (file.type.startsWith('image/') || (file.type.startsWith('video/') && file.thumbnailUrl != null))"
|
v-if="FILE_TYPE_BROWSERSAFE.includes(file.type) && (file.type.startsWith('image/') || (file.type.startsWith('video/') && file.thumbnailUrl != null))"
|
||||||
:hash="file.blurhash"
|
:hash="file.blurhash"
|
||||||
|
|
Loading…
Reference in a new issue