Add comments

This commit is contained in:
Laurent Nguyen
2024-11-14 17:13:43 +01:00
parent ac619cbbe2
commit 22581b41a8
+1 -1
View File
@@ -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();