From ad5dbdf094c0e395be5a93036e44dc8bf5f6945b Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Tue, 2 Apr 2019 11:20:40 +0200 Subject: [PATCH] Remove unused data property --- .../js/es6/common/vuecomponents/comments/CommentTree.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/scripts/js/es6/common/vuecomponents/comments/CommentTree.js b/src/scripts/js/es6/common/vuecomponents/comments/CommentTree.js index 377b47d1..82918168 100644 --- a/src/scripts/js/es6/common/vuecomponents/comments/CommentTree.js +++ b/src/scripts/js/es6/common/vuecomponents/comments/CommentTree.js @@ -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; }