From aa67d0df8b9a5043e284e9abf7cf572b462f4691 Mon Sep 17 00:00:00 2001 From: Eric Duong Date: Thu, 28 Mar 2024 13:59:18 -0400 Subject: [PATCH] fix(data-warehouse): add catchall for database table tree (#21223) * add all others * naming --- .../data-warehouse/external/dataWarehouseSceneLogic.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/scenes/data-warehouse/external/dataWarehouseSceneLogic.ts b/frontend/src/scenes/data-warehouse/external/dataWarehouseSceneLogic.ts index b95ae5d8755b7..fabedbd034724 100644 --- a/frontend/src/scenes/data-warehouse/external/dataWarehouseSceneLogic.ts +++ b/frontend/src/scenes/data-warehouse/external/dataWarehouseSceneLogic.ts @@ -148,6 +148,11 @@ export const dataWarehouseSceneLogic = kea([ acc[table.payload.external_data_source.source_type] = [] } acc[table.payload.external_data_source.source_type].push(table) + } else { + if (!acc['S3']) { + acc['S3'] = [] + } + acc['S3'].push(table) } return acc }, {})