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: '',
|
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) {
|
||||||
|
|
|
@ -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' }"
|
||||||
|
|
Loading…
Reference in New Issue