mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
search load more
This commit is contained in:
parent
94ac596b92
commit
9498c7b7a0
12 changed files with 199 additions and 26 deletions
|
@ -10,8 +10,10 @@ export type IFlowState = Readonly<{
|
|||
updated: Partial<INode>[];
|
||||
search: {
|
||||
text: string;
|
||||
is_loading: boolean;
|
||||
results: INode[];
|
||||
total: number;
|
||||
is_loading: boolean;
|
||||
is_loading_more: boolean;
|
||||
};
|
||||
error: IError;
|
||||
}>;
|
||||
|
@ -23,8 +25,10 @@ const INITIAL_STATE: IFlowState = {
|
|||
updated: [],
|
||||
search: {
|
||||
text: '',
|
||||
is_loading: false,
|
||||
results: [],
|
||||
total: 0,
|
||||
is_loading: false,
|
||||
is_loading_more: false,
|
||||
},
|
||||
is_loading: false,
|
||||
error: null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue