Skip to content

Commit

Permalink
✨ - feat: show spinner when submitting data
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Oct 18, 2024
1 parent ac22e7e commit ef6d735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function App() {
},
"spacer",
<>
{state === "loading" ? (
{state !== "idle" ? (
<P title="Bezig met laden...">
<Solid.ArrowPathIcon
spin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function BaseListView({
a && b && (a.uuid === b.uuid || a.url === b.url),
fields,
filterTransform,
loading: state === "loading",
loading: state !== "idle",
objectList: objectList,
page,
sort: sortable && sort,
Expand Down

0 comments on commit ef6d735

Please sign in to comment.