Remove show div after applyExplorerBindings (#797)
This commit is contained in:
parent
ae76fb0258
commit
c2de2f2eec
|
@ -98,7 +98,7 @@ const App: React.FunctionComponent = () => {
|
|||
|
||||
return (
|
||||
<div className="flexContainer">
|
||||
<div id="divExplorer" className="flexContainer hideOverflows" style={{ display: "none" }}>
|
||||
<div id="divExplorer" className="flexContainer hideOverflows">
|
||||
{/* Main Command Bar - Start */}
|
||||
<div data-bind="react: commandBarComponentAdapter" />
|
||||
{/* Collections Tree and Tabs - Begin */}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue