Remove unused data property

This commit is contained in:
Tobias Johansson 2019-04-02 11:20:40 +02:00
parent 67a56dc797
commit ad5dbdf094

View File

@ -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;
}