From 57a29d2ab26b5fade200b425823a877d525df756 Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Mon, 16 Dec 2024 15:54:07 +0100 Subject: [PATCH] fix(cdp): batch exports only in destinations lise --- .../src/scenes/pipeline/destinations/destinationsLogic.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/scenes/pipeline/destinations/destinationsLogic.tsx b/frontend/src/scenes/pipeline/destinations/destinationsLogic.tsx index 42f8112f99b6c..ea6bf3346687c 100644 --- a/frontend/src/scenes/pipeline/destinations/destinationsLogic.tsx +++ b/frontend/src/scenes/pipeline/destinations/destinationsLogic.tsx @@ -338,10 +338,12 @@ export const pipelineDestinationsLogic = kea([ }, })), - afterMount(({ actions }) => { + afterMount(({ actions, props }) => { actions.loadPlugins() actions.loadPluginConfigs() - actions.loadBatchExports() + if (props.types.includes('destination')) { + actions.loadBatchExports() + } actions.loadHogFunctions() }), ])