mirror of https://github.com/FreeTubeApp/FreeTube
Remove unused isLoading from ft-community-post (#4684)
This commit is contained in:
parent
161633d1d9
commit
2f29084d4f
|
@ -40,7 +40,6 @@ export default defineComponent({
|
|||
voteCount: '',
|
||||
postContent: '',
|
||||
commentCount: '',
|
||||
isLoading: true,
|
||||
author: '',
|
||||
authorId: '',
|
||||
}
|
||||
|
@ -132,7 +131,6 @@ export default defineComponent({
|
|||
this.type = (this.data.postContent !== null && this.data.postContent !== undefined) ? this.data.postContent.type : 'text'
|
||||
this.author = this.data.author
|
||||
this.authorId = this.data.authorId
|
||||
this.isLoading = false
|
||||
},
|
||||
|
||||
getBestQualityImage(imageArray) {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<div
|
||||
v-if="!isLoading"
|
||||
class="ft-list-post ft-list-item outside"
|
||||
:appearance="appearance"
|
||||
:class="{ list: listType === 'list', grid: listType === 'grid' }"
|
||||
|
|
Loading…
Reference in New Issue