Fix ready message (format) (#565)

* Fix ready message sent to parent frame

* format
This commit is contained in:
Armando Trejo Oliver 2021-03-18 21:40:31 -07:00 committed by GitHub
parent f929a638d6
commit 19880203ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View File

@ -75,7 +75,6 @@ export function sendReadyMessage(): void {
}
}
export function canSendMessage(): boolean {
return window.parent !== window;
}

View File

@ -14,7 +14,7 @@ import {
HeatmapData,
LayoutSettings,
PartitionTimeStampToData,
PortalTheme
PortalTheme,
} from "./HeatmapDatatypes";
export class Heatmap {

View File

@ -100,7 +100,7 @@ export default class MongoShellTab extends TabsBase {
documentEndpoint.substr(
Constants.MongoDBAccounts.protocol.length + 3,
documentEndpoint.length -
(Constants.MongoDBAccounts.protocol.length + 2 + Constants.MongoDBAccounts.defaultPort.length)
(Constants.MongoDBAccounts.protocol.length + 2 + Constants.MongoDBAccounts.defaultPort.length)
) + Constants.MongoDBAccounts.defaultPort.toString();
const databaseId = this.collection.databaseId;
const collectionId = this.collection.id();

View File

@ -15,14 +15,14 @@ import {
ConnectionString,
EncryptedToken,
HostedExplorerChildFrame,
ResourceToken
ResourceToken,
} from "../HostedExplorerChildFrame";
import { emulatorAccount } from "../Platform/Emulator/emulatorAccount";
import { extractFeatures } from "../Platform/Hosted/extractFeatures";
import { parseResourceTokenConnectionString } from "../Platform/Hosted/Helpers/ResourceTokenUtils";
import {
getDatabaseAccountKindFromExperience,
getDatabaseAccountPropertiesFromMetadata
getDatabaseAccountPropertiesFromMetadata,
} from "../Platform/Hosted/HostedUtils";
import { DefaultExperienceUtility } from "../Shared/DefaultExperienceUtility";
import { PortalEnv, updateUserContext } from "../UserContext";