Remove AdHoc Access and Token Renewal Pane (#445)

This commit is contained in:
Steve Faulkner
2021-02-23 11:16:00 -06:00
committed by GitHub
parent 3777b6922e
commit f0c82a430b
12 changed files with 8 additions and 654 deletions

View File

@@ -8,6 +8,7 @@ import { ActionType, DataExplorerAction } from "../Contracts/ActionContracts";
import { MessageTypes } from "../Contracts/ExplorerContracts";
import { DataExplorerInputsFrame } from "../Contracts/ViewModels";
import Explorer, { ExplorerParams } from "../Explorer/Explorer";
import { handleOpenAction } from "../Explorer/OpenActions";
import {
AAD,
ConnectionString,
@@ -199,6 +200,7 @@ function configurePortal() {
// Check for init message
const message: PortalMessage = event.data?.data;
const inputs = message?.inputs;
const openAction = message?.openAction;
if (inputs) {
if (
configContext.BACKEND_ENDPOINT &&
@@ -210,6 +212,9 @@ function configurePortal() {
explorer.configure(inputs);
applyExplorerBindings(explorer);
if (openAction) {
handleOpenAction(openAction, explorer.nonSystemDatabases(), explorer);
}
}
},
false