diff --git a/src/Common/MessageHandler.ts b/src/Common/MessageHandler.ts index abd022b52..79443fc61 100644 --- a/src/Common/MessageHandler.ts +++ b/src/Common/MessageHandler.ts @@ -75,7 +75,6 @@ export function sendReadyMessage(): void { } } - export function canSendMessage(): boolean { return window.parent !== window; } diff --git a/src/Controls/Heatmap/Heatmap.ts b/src/Controls/Heatmap/Heatmap.ts index 961cd6077..3cdc4589d 100644 --- a/src/Controls/Heatmap/Heatmap.ts +++ b/src/Controls/Heatmap/Heatmap.ts @@ -14,7 +14,7 @@ import { HeatmapData, LayoutSettings, PartitionTimeStampToData, - PortalTheme + PortalTheme, } from "./HeatmapDatatypes"; export class Heatmap { diff --git a/src/Explorer/Tabs/MongoShellTab.ts b/src/Explorer/Tabs/MongoShellTab.ts index db9c3e001..c78d7561a 100644 --- a/src/Explorer/Tabs/MongoShellTab.ts +++ b/src/Explorer/Tabs/MongoShellTab.ts @@ -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(); diff --git a/src/hooks/useKnockoutExplorer.ts b/src/hooks/useKnockoutExplorer.ts index 333afb9a0..bed243abb 100644 --- a/src/hooks/useKnockoutExplorer.ts +++ b/src/hooks/useKnockoutExplorer.ts @@ -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";