diff --git a/dashboard/src/components/DataLoader.js b/dashboard/src/components/DataLoader.js index 2c4b44d13..0b80ad23d 100644 --- a/dashboard/src/components/DataLoader.js +++ b/dashboard/src/components/DataLoader.js @@ -141,7 +141,7 @@ export function useDataLoader(options = { refreshOnMount: false }) { */ async function loadOrRefreshData(isStartingInitialLoad) { setIsLoading(true); - setFullScreen(isStartingInitialLoad ? true : false); + setFullScreen(isStartingInitialLoad); setLoadingText(isStartingInitialLoad ? 'Chargement des données' : 'Mise à jour des données'); /*