Data pane expand issue (#1085)

* Data pane expand issue

* Data pane expand issue-1

* Data pane expand issue format

* Data pane expand issue formating
This commit is contained in:
Karthik chakravarthy 2021-09-15 19:50:36 -04:00 committed by GitHub
parent af0dc3094b
commit d7997d716e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -187,11 +187,14 @@ export const useNotebook: UseStore<NotebookState> = create((set, get) => ({
path: "Gallery",
type: NotebookContentItemType.File,
};
const gitHubNotebooksContentRoot = {
const gitHubNotebooksContentRoot = notebookManager?.gitHubOAuthService?.isLoggedIn()
? {
name: "GitHub repos",
path: "PsuedoDir",
type: NotebookContentItemType.Directory,
};
}
: undefined;
set({
myNotebooksContentRoot,
galleryContentRoot,