Skip to content

Commit

Permalink
Update dashboard/src/components/DataLoader.js
Browse files Browse the repository at this point in the history
Co-authored-by: Raphaël Huchet <[email protected]>
  • Loading branch information
arnaudambro and rap2hpoutre authored Oct 9, 2023
1 parent 20e9ba0 commit cb3cacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/DataLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

/*
Expand Down

0 comments on commit cb3cacc

Please sign in to comment.