Skip to content

Commit

Permalink
re-add loading indicator to agenda/wire (#973)
Browse files Browse the repository at this point in the history
NHUB-581
  • Loading branch information
petrjasek authored Jun 25, 2024
1 parent 59589a5 commit 8f6d2ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion assets/layout/components/SearchBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default class SearchBase<Props = {}> extends React.Component<Props & IBas

renderLoader() {
return (
<div className="d-flex justify-content-center h-50">
<div className="d-flex justify-content-center h-50 w-100">
<div className="spinner-border text-muted m-5 align-self-center" />
</div>
);
Expand Down Expand Up @@ -251,6 +251,10 @@ export default class SearchBase<Props = {}> extends React.Component<Props & IBas
}

render() {
if (this.state.initialLoad) {
return this.renderLoader();
}

return (
<React.Fragment>
<div className="content">
Expand Down

0 comments on commit 8f6d2ba

Please sign in to comment.