mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-06 16:36:40 +07:00
fixed dialog witdths
This commit is contained in:
parent
65885acb75
commit
afc9654200
13 changed files with 115 additions and 132 deletions
|
@ -29,12 +29,6 @@ export interface IEditorState {
|
|||
is_published: boolean;
|
||||
is_routing: boolean;
|
||||
|
||||
save_error: string;
|
||||
save_finished: boolean;
|
||||
save_overwriting: boolean;
|
||||
save_processing: boolean;
|
||||
save_loading: boolean;
|
||||
|
||||
features: {
|
||||
routing: boolean;
|
||||
};
|
||||
|
@ -47,6 +41,14 @@ export interface IEditorState {
|
|||
info: string;
|
||||
progress: number;
|
||||
};
|
||||
|
||||
save: {
|
||||
error: string;
|
||||
finished: boolean;
|
||||
overwriting: boolean;
|
||||
processing: boolean;
|
||||
loading: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
const EDITOR_INITIAL_STATE = {
|
||||
|
@ -72,12 +74,6 @@ const EDITOR_INITIAL_STATE = {
|
|||
is_empty: true,
|
||||
is_routing: false,
|
||||
|
||||
save_error: '',
|
||||
save_finished: false,
|
||||
save_overwriting: false,
|
||||
save_processing: false,
|
||||
save_loading: false,
|
||||
|
||||
features: {
|
||||
routing: false,
|
||||
},
|
||||
|
@ -90,6 +86,14 @@ const EDITOR_INITIAL_STATE = {
|
|||
info: '',
|
||||
progress: 0,
|
||||
},
|
||||
|
||||
save: {
|
||||
error: null,
|
||||
finished: false,
|
||||
overwriting: false,
|
||||
processing: false,
|
||||
loading: false,
|
||||
},
|
||||
};
|
||||
|
||||
export const editor = createReducer(EDITOR_INITIAL_STATE, EDITOR_HANDLERS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue