Remove unused isLoading from ft-community-post (#4684)

This commit is contained in:
absidue 2024-02-19 12:02:32 +01:00 committed by GitHub
parent 161633d1d9
commit 2f29084d4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View File

@ -40,7 +40,6 @@ export default defineComponent({
voteCount: '', voteCount: '',
postContent: '', postContent: '',
commentCount: '', commentCount: '',
isLoading: true,
author: '', author: '',
authorId: '', authorId: '',
} }
@ -132,7 +131,6 @@ export default defineComponent({
this.type = (this.data.postContent !== null && this.data.postContent !== undefined) ? this.data.postContent.type : 'text' this.type = (this.data.postContent !== null && this.data.postContent !== undefined) ? this.data.postContent.type : 'text'
this.author = this.data.author this.author = this.data.author
this.authorId = this.data.authorId this.authorId = this.data.authorId
this.isLoading = false
}, },
getBestQualityImage(imageArray) { getBestQualityImage(imageArray) {

View File

@ -1,6 +1,5 @@
<template> <template>
<div <div
v-if="!isLoading"
class="ft-list-post ft-list-item outside" class="ft-list-post ft-list-item outside"
:appearance="appearance" :appearance="appearance"
:class="{ list: listType === 'list', grid: listType === 'grid' }" :class="{ list: listType === 'list', grid: listType === 'grid' }"