fix: window property
This commit is contained in:
@@ -75,9 +75,7 @@ export class ApplicationGroup extends SNApplicationGroup<WebOrDesktopDevice> {
|
||||
})
|
||||
|
||||
if (isDesktopApplication()) {
|
||||
Object.defineProperty(window, 'webClient', {
|
||||
get: () => (this.primaryApplication as WebApplication).getDesktopService(),
|
||||
})
|
||||
window.webClient = (this.primaryApplication as WebApplication).getDesktopService()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user