Skip to content

Commit

Permalink
Hide 0 alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpolman committed Jun 7, 2024
1 parent f331f1f commit b2d22a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/app/src/components/card/BaseCardQuest.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default defineComponent({
});
},
isAlertMinFollowersShown() {
return this.quest.contentMetadata && !!this.quest.contentMetadata.minFollowersCount;
return this.quest.contentMetadata && !!Number(this.quest.contentMetadata.minFollowersCount);
},
hasExpiry() {
return !!this.expiryDate;
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/components/modal/BaseModalQuestEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default defineComponent({
return !!this.error || !!this.subscribeError;
},
isAlertSuccessShown() {
return !this.error && !this.subscribeError;
return !this.error && this.amount && !this.subscribeError;
},
isEmailValid: function () {
if (!this.email) return null;
Expand Down

0 comments on commit b2d22a4

Please sign in to comment.