Change things

This commit is contained in:
Tom Hubrecht 2022-10-28 13:39:31 +02:00
parent 58597c8076
commit aa697799bc

View file

@ -121,11 +121,12 @@
isLoading = b; isLoading = b;
if (spinner) { if (spinner) {
spinner.$set({ isLoading: b }); spinner.$set({ isLoading: b });
if (b) {
setTimeout(() => {
spinner.$set({ isLoading: false });
}, 3000);
}
} }
setTimeout(() => {
spinner.$set({ isLoading: false });
}, 3000);
}, },
eventSources: [], eventSources: [],
themeSystem: 'bootstrap5', themeSystem: 'bootstrap5',