From 252f09ff6aeea128d865e34e7bffee30656704d7 Mon Sep 17 00:00:00 2001 From: Jordan Vidrine Date: Fri, 26 Sep 2025 16:23:52 -0500 Subject: [PATCH] cleanup disabled method --- .../javascripts/discourse/components/vote-button.gjs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs b/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs index 4bb4a04317d..adb75d407f9 100644 --- a/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs +++ b/plugins/discourse-topic-voting/assets/javascripts/discourse/components/vote-button.gjs @@ -46,14 +46,6 @@ export default class VoteBox extends Component { return content; } - get disabled() { - return ( - this.currentUser.votes_exceeded && - !this.topic.user_voted && - !this.currentUser.vote_limit_0 - ); - } - get showVotedMenu() { return this.hasVoted && !this.hasSeenSuccessMenu; }