Skip to content

Commit

Permalink
Custom widgets - send location info of the main window to widgets (#2186
Browse files Browse the repository at this point in the history
)
  • Loading branch information
JMach1 committed May 25, 2023
1 parent a1086a7 commit e873140
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/custom-widget/listenForSecretsRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class ListenForSecretsRequests {

const managementApiUrl = await settingsProvider.getSetting<string>(SettingNames.managementApiUrl);
const secrets: Secrets = {
["parentLocation" as any]: JSON.parse(JSON.stringify(window.location)), // override typescript until new version of the package is released TODO fix
managementApiUrl: Utils.ensureUrlArmified(managementApiUrl),
apiVersion: managementApiVersion
};
Expand Down

0 comments on commit e873140

Please sign in to comment.