fix(svelte): resolve props_invalid_value and dexie DataError
- Initialize ds_loaded properties in ae_stores.ts to fix svelte binding error. - Make db_save_ae_obj_li__ae_obj in core__idb_dexie.ts schema-aware to fix Dexie DataError when saving to tables with non-'id' primary keys.
This commit is contained in:
@@ -372,7 +372,11 @@ const ae_app_session_data_defaults: key_val = {
|
||||
ds: {
|
||||
submit_status: null
|
||||
},
|
||||
ds_loaded: {},
|
||||
ds_loaded: {
|
||||
hub__site__root_page_header: false,
|
||||
hub__site__root_page_content: false,
|
||||
hub__site__root_page_footer: false
|
||||
},
|
||||
|
||||
files: {
|
||||
disable_submit__hosted_file_obj: false,
|
||||
@@ -380,6 +384,7 @@ const ae_app_session_data_defaults: key_val = {
|
||||
uploaded_file_kv: {},
|
||||
video_clip_file_kv: {},
|
||||
processed_file_list: [],
|
||||
status__file_list: null,
|
||||
// uploaded_file_list: [],
|
||||
video_clip_file_list: [],
|
||||
submit_status: null, // 'saving', 'created', 'updated', 'saved'
|
||||
|
||||
Reference in New Issue
Block a user