Skip to content

Commit 5fd8212

Browse files
authored
Switch to Pay-as-you-go (#16678)
* [server] Fix PAYG notifications and tsCancel * [dashboard] Extend PAYG - made re-entry safe - check: old subscription already cancelled - check: stripe subscription already exists - cancel all kinds of subscriptions - migrate members for TeamSubscription - choose org for TeamSubscription - don't show notification on PAYG page - show confetti at the end :-)
1 parent ee9ea03 commit 5fd8212

File tree

6 files changed

+509
-109
lines changed

6 files changed

+509
-109
lines changed

components/dashboard/src/AppNotifications.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,7 @@ function convertToAppNotification(array: string[] | AppNotification[] | any): Ap
119119
}
120120
return notifications;
121121
}
122+
123+
export const resetAllNotifications = () => {
124+
removeLocalStorageObject(KEY_APP_NOTIFICATIONS);
125+
};

0 commit comments

Comments
 (0)