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
  • Loading branch information
luacmartins authored Jul 4, 2024
2 parents 60f2dde + d3726e3 commit 407769c
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 407769c

Please sign in to comment.