Skip to content

Commit

Permalink
Merge pull request #44862 from nkdengineer/fix/44804
Browse files Browse the repository at this point in the history
fix the check for subscription green dot info

(cherry picked from commit 407769c)
  • Loading branch information
luacmartins authored and OSBotify committed Jul 4, 2024
1 parent 2cb68e8 commit bb7bb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/SubscriptionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function hasSubscriptionRedDotError(): boolean {
* @returns Whether there is a subscription green dot info.
*/
function hasSubscriptionGreenDotInfo(): boolean {
return !getSubscriptionStatus()?.isError ?? false;
return getSubscriptionStatus()?.isError === false;
}

/**
Expand Down

0 comments on commit bb7bb47

Please sign in to comment.