diff --git a/src/redux/root/init.thunks.ts b/src/redux/root/init.thunks.ts index e28be3dc1a69bbd898e101f3ba59dcd3e4c70867..6c0da82dab4a184787865238727c552f772c1193 100644 --- a/src/redux/root/init.thunks.ts +++ b/src/redux/root/init.thunks.ts @@ -58,6 +58,7 @@ export const fetchInitialAppData = createAsyncThunk< /** Fetch all data required for rendering map */ await Promise.all([ + dispatch(getConfiguration()), dispatch(getConfigurationOptions()), dispatch(getProjectById(PROJECT_ID)), dispatch(getAllBackgroundsByProjectId(PROJECT_ID)), @@ -78,7 +79,6 @@ export const fetchInitialAppData = createAsyncThunk< // Fetch data needed for export dispatch(getStatisticsById(PROJECT_ID)); - dispatch(getConfiguration()); // Fetch plugins list dispatch(getAllPlugins());