Add progress bar to top of page for nicer loading indicator styles
This commit is contained in:
parent
708c15eba8
commit
d3a06e1ca8
12 changed files with 133 additions and 34 deletions
|
@ -3,12 +3,14 @@ import flashes, { FlashStore } from '@/state/flashes';
|
|||
import user, { UserStore } from '@/state/user';
|
||||
import permissions, { GloablPermissionsStore } from '@/state/permissions';
|
||||
import settings, { SettingsStore } from '@/state/settings';
|
||||
import progress, { ProgressStore } from '@/state/progress';
|
||||
|
||||
export interface ApplicationStore {
|
||||
permissions: GloablPermissionsStore;
|
||||
flashes: FlashStore;
|
||||
user: UserStore;
|
||||
settings: SettingsStore;
|
||||
progress: ProgressStore;
|
||||
}
|
||||
|
||||
const state: ApplicationStore = {
|
||||
|
@ -16,6 +18,7 @@ const state: ApplicationStore = {
|
|||
flashes,
|
||||
user,
|
||||
settings,
|
||||
progress,
|
||||
};
|
||||
|
||||
export const store = createStore(state);
|
||||
|
|
Reference in a new issue