Add progress bar to top of page for nicer loading indicator styles

This commit is contained in:
Dane Everitt
2020-04-10 12:41:08 -07:00
parent 708c15eba8
commit d3a06e1ca8
12 changed files with 133 additions and 34 deletions

View File

@@ -9,7 +9,6 @@ import FlashMessageRender from '@/components/FlashMessageRender';
import getServerSubusers from '@/api/server/users/getServerSubusers';
import { httpErrorToHuman } from '@/api/http';
import Can from '@/components/elements/Can';
import ListRefreshIndicator from '@/components/elements/ListRefreshIndicator';
export default () => {
const [ loading, setLoading ] = useState(true);
@@ -48,7 +47,6 @@ export default () => {
return (
<div className={'mt-10 mb-6'}>
<ListRefreshIndicator visible={loading}/>
<FlashMessageRender byKey={'users'} className={'mb-4'}/>
{!subusers.length ?
<p className={'text-center text-sm text-neutral-400'}>