feat: Add "Manage subscription" button to Subscription preferences (#705)

* feat: Add "Manage subscription" button to Subscription preferences

* Update app/assets/javascripts/preferences/panes/account/subscription/SubscriptionInformation.tsx

Co-authored-by: Mo <mo@standardnotes.org>

* feat: Use convertTimestamp function instead of manual conversion in Subscription Info

Co-authored-by: Mo <mo@standardnotes.org>
This commit is contained in:
Aman Harwara
2021-10-26 21:30:21 +05:30
committed by GitHub
parent 0c332d8b5e
commit 53ec0d4742
5 changed files with 60 additions and 36 deletions

View File

@@ -6,6 +6,8 @@ declare global {
_bugsnag_api_key?: string;
// eslint-disable-next-line camelcase
_purchase_url?: string;
// eslint-disable-next-line camelcase
_dashboard_url?: string;
}
}
@@ -211,7 +213,7 @@ if (IsWebPlatform) {
(window as any)._default_sync_server as string,
new BrowserBridge(AppVersion),
(window as any)._enable_unfinished_features as boolean,
(window as any)._websocket_url as string,
(window as any)._websocket_url as string
);
} else {
(window as any).startApplication = startApplication;