Remove unused data property
This commit is contained in:
parent
67a56dc797
commit
ad5dbdf094
@ -63,7 +63,6 @@ Vue.component('comments-tree', {
|
|||||||
comments: [],
|
comments: [],
|
||||||
showLoadingPlaceholder: true,
|
showLoadingPlaceholder: true,
|
||||||
user: pillar.utils.getCurrentUser(),
|
user: pillar.utils.getCurrentUser(),
|
||||||
canPostComments: this.canPostCommentsStr == 'true'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -74,12 +73,6 @@ Vue.component('comments-tree', {
|
|||||||
isLoggedIn() {
|
isLoggedIn() {
|
||||||
return this.user.is_authenticated;
|
return this.user.is_authenticated;
|
||||||
},
|
},
|
||||||
iSubscriber() {
|
|
||||||
return this.user.hasCap('subscriber');
|
|
||||||
},
|
|
||||||
canRenewSubscription() {
|
|
||||||
return this.user.hasCap('can-renew-subscription');
|
|
||||||
},
|
|
||||||
canReply() {
|
canReply() {
|
||||||
return !this.readOnly && !this.replyHidden && this.isLoggedIn;
|
return !this.readOnly && !this.replyHidden && this.isLoggedIn;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user