fix(desktop): Fixed issue where the "Manage subscription" button would not work on desktop
This commit is contained in:
@@ -13,6 +13,11 @@ export async function openSubscriptionDashboard(application: SNApplication) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (application.deviceInterface.environment === Environment.Desktop) {
|
||||||
|
window.open(url, '_blank')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
const windowProxy = window.open('', '_blank')
|
const windowProxy = window.open('', '_blank')
|
||||||
;(windowProxy as WindowProxy).location = url
|
;(windowProxy as WindowProxy).location = url
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user