diff --git a/frontend/src/app/pages/vote/vote.component.ts b/frontend/src/app/pages/vote/vote.component.ts index 4452f8d..608aa69 100644 --- a/frontend/src/app/pages/vote/vote.component.ts +++ b/frontend/src/app/pages/vote/vote.component.ts @@ -96,7 +96,7 @@ export class VoteComponent implements OnInit, OnDestroy { const now: Date = new Date(); return ( this.voteStats.allVoteInfo.some(voteInfo => voteInfo.siteName === voteSite - && voteInfo.lastVoteTimestamp - now.getTime() < 86400000) + && voteInfo.lastVoteTimestamp - now.getTime() > 86400000) ) } }