Skip to content
Snippets Groups Projects
Commit 7747f5c8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

load configuration sooner

parent 2fa8bea8
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!187Resolve "[MIN-329] minerva version"
...@@ -58,6 +58,7 @@ export const fetchInitialAppData = createAsyncThunk< ...@@ -58,6 +58,7 @@ export const fetchInitialAppData = createAsyncThunk<
/** Fetch all data required for rendering map */ /** Fetch all data required for rendering map */
await Promise.all([ await Promise.all([
dispatch(getConfiguration()),
dispatch(getConfigurationOptions()), dispatch(getConfigurationOptions()),
dispatch(getProjectById(PROJECT_ID)), dispatch(getProjectById(PROJECT_ID)),
dispatch(getAllBackgroundsByProjectId(PROJECT_ID)), dispatch(getAllBackgroundsByProjectId(PROJECT_ID)),
...@@ -78,7 +79,6 @@ export const fetchInitialAppData = createAsyncThunk< ...@@ -78,7 +79,6 @@ export const fetchInitialAppData = createAsyncThunk<
// Fetch data needed for export // Fetch data needed for export
dispatch(getStatisticsById(PROJECT_ID)); dispatch(getStatisticsById(PROJECT_ID));
dispatch(getConfiguration());
// Fetch plugins list // Fetch plugins list
dispatch(getAllPlugins()); dispatch(getAllPlugins());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment