From 94fe116fb396b2a04d2e4784fcb032db2e496829 Mon Sep 17 00:00:00 2001 From: Sajid Alam Date: Tue, 14 Jan 2025 11:34:03 +0000 Subject: [PATCH] Update pipelines.js Signed-off-by: Sajid Alam --- src/actions/pipelines.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/actions/pipelines.js b/src/actions/pipelines.js index 05a9c23539..591ff4bfe5 100644 --- a/src/actions/pipelines.js +++ b/src/actions/pipelines.js @@ -90,10 +90,6 @@ export function loadInitialPipelineData() { return async function (dispatch, getState) { // Get a copy of the full state from the store const state = getState(); - // If data is passed synchronously then this process isn't necessary - if (state.dataSource !== 'json') { - return; - } dispatch(toggleLoading(true)); // Load 'main' data file. This is always loaded first, because it's needed // in order to obtain the list of pipelines, which is required for determining