2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-04 17:32:34 +08:00

cleanup disabled method

This commit is contained in:
Jordan Vidrine 2025-09-26 16:23:52 -05:00
parent 965be73483
commit 252f09ff6a

View file

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