Remove unused data property
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user