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