From d291896b53357145b00dabd7938948421d59d1ab Mon Sep 17 00:00:00 2001 From: Niels de Jong Date: Fri, 17 Nov 2023 09:32:39 +0100 Subject: [PATCH] Fix for only displaying active databases in the sidebar --- src/dashboard/DashboardThunks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dashboard/DashboardThunks.ts b/src/dashboard/DashboardThunks.ts index 8ac993a1f..667dd3254 100644 --- a/src/dashboard/DashboardThunks.ts +++ b/src/dashboard/DashboardThunks.ts @@ -330,7 +330,7 @@ export const loadDatabaseListFromNeo4jThunk = (driver, callback) => (dispatch: a runCypherQuery( driver, 'system', - 'SHOW DATABASES yield name RETURN DISTINCT name', + 'SHOW DATABASES yield name, currentStatus WHERE currentStatus = "online" RETURN DISTINCT name', {}, 1000, () => {},