Rewrite words and groups into result
This commit is contained in:
1 parent
c56d135ce8
commit
5a6747030b
7 files changed
+99
-70
No files matched your search
+2
-2
@@ -94,9 +94,9 @@ pub fn fill_state(state: &mut AppState) {
|
||||
let groups = load_word_groups(&state.connection);
|
||||
let setting = load_settings(&state.connection);
|
||||
|
||||
state.dictionary = list;
|
||||
state.dictionary = list.unwrap_or_default();
|
||||
state.decks = sets.unwrap_or_default();
|
||||
state.word_groups = groups;
|
||||
state.word_groups = groups.unwrap_or_default();
|
||||
state.sync_data = setting
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user