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:
parent
965be73483
commit
252f09ff6a
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue