Remove show div after applyExplorerBindings (#797)

This commit is contained in:
Steve Faulkner
2021-05-18 23:41:44 -05:00
committed by GitHub
parent ae76fb0258
commit c2de2f2eec
2 changed files with 2 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
import { BindingHandlersRegisterer } from "./Bindings/BindingHandlersRegisterer";
import * as ko from "knockout";
import { BindingHandlersRegisterer } from "./Bindings/BindingHandlersRegisterer";
import Explorer from "./Explorer/Explorer";
export const applyExplorerBindings = (explorer: Explorer) => {
@@ -7,8 +7,5 @@ export const applyExplorerBindings = (explorer: Explorer) => {
window.dataExplorer = explorer;
BindingHandlersRegisterer.registerBindingHandlers();
ko.applyBindings(explorer);
// This message should ideally be sent immediately after explorer has been initialized for optimal data explorer load times.
// TODO: Send another message to describe that the bindings have been applied, and handle message transfers accordingly in the portal
$("#divExplorer").show();
}
};