diff --git a/src/Explorer/Controls/NotebookViewer/NotebookViewerComponent.tsx b/src/Explorer/Controls/NotebookViewer/NotebookViewerComponent.tsx index 0dc7dfcee..fa53873fe 100644 --- a/src/Explorer/Controls/NotebookViewer/NotebookViewerComponent.tsx +++ b/src/Explorer/Controls/NotebookViewer/NotebookViewerComponent.tsx @@ -3,7 +3,7 @@ */ import { Notebook } from "@nteract/commutable"; import { createContentRef } from "@nteract/core"; -import { Icon, Link } from "office-ui-fabric-react"; +import { Icon, Link, ProgressIndicator } from "office-ui-fabric-react"; import * as React from "react"; import { contents } from "rx-jupyter"; import * as Logger from "../../../Common/Logger"; @@ -36,6 +36,7 @@ interface NotebookViewerComponentState { galleryItem?: IGalleryItem; isFavorite?: boolean; dialogProps: DialogProps; + showProgressBar: boolean; } export class NotebookViewerComponent extends React.Component @@ -65,7 +66,8 @@ export class NotebookViewerComponent extends React.Component )} + {this.state.showProgressBar && } + {this.notebookComponentBootstrapper.renderComponent(NotebookReadOnlyRenderer, { hideInputs: this.props.hideInputs })}