Skip to content

Commit cbb0bd0

Browse files
✨ - feat: show spinner when submitting data
1 parent b9e5cbd commit cbb0bd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function App() {
9191
},
9292
"spacer",
9393
<>
94-
{state === "loading" ? (
94+
{state !== "idle" ? (
9595
<P title="Bezig met laden...">
9696
<Solid.ArrowPathIcon
9797
spin

frontend/src/pages/destructionlist/abstract/BaseListView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export function BaseListView({
194194
a && b && (a.uuid === b.uuid || a.url === b.url),
195195
fields,
196196
filterTransform,
197-
loading: state === "loading",
197+
loading: state !== "idle",
198198
objectList: objectList,
199199
page,
200200
sort: sortable && sort,

0 commit comments

Comments
 (0)