lint
This commit is contained in:
parent
e7324fb307
commit
6cdd7caad7
|
@ -114,9 +114,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
.leftJoinAndSelect('renote.user', 'renoteUser')
|
||||
.leftJoinAndSelect('note.channel', 'channel');
|
||||
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
|
||||
timeline = await query.getMany();
|
||||
|
||||
|
|
|
@ -105,9 +105,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
.leftJoinAndSelect('renote.user', 'renoteUser')
|
||||
.leftJoinAndSelect('note.channel', 'channel');
|
||||
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
|
||||
timeline = await query.getMany();
|
||||
|
||||
|
|
|
@ -129,9 +129,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
.leftJoinAndSelect('renote.user', 'renoteUser')
|
||||
.leftJoinAndSelect('note.channel', 'channel');
|
||||
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
|
||||
timeline = await query.getMany();
|
||||
|
||||
|
|
|
@ -133,9 +133,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
.leftJoinAndSelect('renote.user', 'renoteUser')
|
||||
.leftJoinAndSelect('note.channel', 'channel');
|
||||
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
if (ps.withCats) {
|
||||
query.andWhere('(select "isCat" from "user" where id = note."userId")');
|
||||
}
|
||||
|
||||
timeline = await query.getMany();
|
||||
|
||||
|
|
|
@ -18,14 +18,14 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
>
|
||||
<!-- TODO: 画像以外のファイルに対応 -->
|
||||
<ImgWithBlurhash
|
||||
:hash="file.file.blurhash"
|
||||
:src="thumbnail(file.file)"
|
||||
:title="file.file.name"
|
||||
@mouseover="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = true : ''"
|
||||
@mouseout="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = false : ''"
|
||||
@touchstart="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = true : ''"
|
||||
@touchend="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = false : ''"
|
||||
/>
|
||||
:hash="file.file.blurhash"
|
||||
:src="thumbnail(file.file)"
|
||||
:title="file.file.name"
|
||||
@mouseover="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = true : ''"
|
||||
@mouseout="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = false : ''"
|
||||
@touchstart="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = true : ''"
|
||||
@touchend="defaultStore.state.showingAnimatedImages === 'interaction' ? playAnimation = false : ''"
|
||||
/>
|
||||
</MkA>
|
||||
</div>
|
||||
<p v-if="!fetching && files.length == 0" :class="$style.empty">{{ i18n.ts.nothing }}</p>
|
||||
|
|
Loading…
Reference in a new issue