1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Fix data check logic

This commit is contained in:
Andrew Kingston 2023-06-26 18:14:12 +01:00
parent 73ea1022eb
commit 9e3711a4c6

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,
}
})