Skip to content

Commit e018c97

Browse files
authored
[dashboard] check billing address on gitpodio only (#19385)
1 parent 692963d commit e018c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dashboard/src/AppNotifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function AppNotifications() {
9999
notifications.push(UPDATED_PRIVACY_POLICY((u: Partial<UserProtocol>) => mutateAsync(u)));
100100
}
101101

102-
if (attributionId) {
102+
if (isGitpodIo() && attributionId) {
103103
const [subscriptionId, invalidBillingAddress] = await Promise.all([
104104
getGitpodService().server.findStripeSubscriptionId(attributionId),
105105
getGitpodService().server.isCustomerBillingAddressInvalid(attributionId),

0 commit comments

Comments
 (0)