From 22581b41a840dbbbcd178db4a76ff3d75b9029fd Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Thu, 14 Nov 2024 17:13:43 +0100 Subject: [PATCH] Add comments --- src/Explorer/Explorer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Explorer/Explorer.tsx b/src/Explorer/Explorer.tsx index fa6d2de14..a5a2d394d 100644 --- a/src/Explorer/Explorer.tsx +++ b/src/Explorer/Explorer.tsx @@ -1141,7 +1141,7 @@ export default class Explorer { if (userContext.apiType !== "Postgres" && userContext.apiType !== "VCoreMongo") { userContext.authType === AuthType.ResourceToken ? this.refreshDatabaseForResourceToken() - : await this.refreshAllDatabases(); + : await this.refreshAllDatabases(); // await: we rely on the databases to be loaded before restoring the tabs further in the flow } await useNotebook.getState().refreshNotebooksEnabledStateForAccount();