Fix data check logic

This commit is contained in:
Andrew Kingston 2023-06-26 18:14:12 +01:00
parent 73ea1022eb
commit 9e3711a4c6
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export function createDatasourcesStore() {
hasDefaultData: list?.some(
datasource => datasource._id === DEFAULT_BB_DATASOURCE_ID
),
hasData: !!internalDS?.entities?.length || list?.length > 1,
hasData: list?.length > 0,
}
})