mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 09:20:16 +00:00
Hide commandbar btns when phoenix flag is false (#1174)
* Hide commandbar btns when phoenix flag is false * Showing notebooks based on phoenix
This commit is contained in:
committed by
GitHub
parent
b327bfd0d6
commit
b7daadee20
@@ -121,7 +121,7 @@ export const ResourceTree: React.FC<ResourceTreeProps> = ({ container }: Resourc
|
||||
children: [],
|
||||
};
|
||||
|
||||
if (userContext.features.notebooksTemporarilyDown) {
|
||||
if (!useNotebook.getState().isPhoenix) {
|
||||
notebooksTree.children.push(buildNotebooksTemporarilyDownTree());
|
||||
} else {
|
||||
if (galleryContentRoot) {
|
||||
|
||||
Reference in New Issue
Block a user