diff --git a/src/Explorer/Explorer.tsx b/src/Explorer/Explorer.tsx index 305cf12f9..1a20c68a0 100644 --- a/src/Explorer/Explorer.tsx +++ b/src/Explorer/Explorer.tsx @@ -1284,6 +1284,10 @@ export default class Explorer { : this.refreshAllDatabases(); await useNotebook.getState().refreshNotebooksEnabledStateForAccount(); + //Disable phoenix in case of Vnet or Firewall was enabled. + if (useNotebook.getState().isPhoenix && !isPublicInternetAccessAllowed()) { + useNotebook.getState().setIsPhoenix(false); + } // TODO: remove reference to isNotebookEnabled and isNotebooksEnabledForAccount const isNotebookEnabled = userContext.features.notebooksDownBanner || useNotebook.getState().isPhoenix; useNotebook.getState().setIsNotebookEnabled(isNotebookEnabled);