Better (less) logging and other clean up

This commit is contained in:
Scott Idem
2024-06-24 15:51:30 -04:00
parent 0c4185f74c
commit c6b7c7e803
18 changed files with 1240 additions and 768 deletions

View File

@@ -18,15 +18,15 @@ export let for_type: null|string = null;
export let for_id: null|string = null;
console.log(`ae_e_data_store ${ds_code} for_type=${for_type} for_id=${for_id} account_id=${$ae_loc.account_id}`);
export let store: string = 'local';
export let display: string = 'block';
// export let store: string = 'local';
// export let display: string = 'block';
export let class_li: string = ''; // : string[] = [];
export let try_cache: boolean = true;
export let show_edit: boolean = false;
export let show_edit_btn: boolean = true;
export let show_view: boolean = true;
export let show_delete_btn: boolean = false;
// export let show_delete_btn: boolean = false;
export let ds_loaded: boolean = false;
@@ -410,7 +410,7 @@ async function handle_create__data_store({
obj_type: obj_type,
fields: data,
key: $ae_api.api_crud_super_key,
log_lvl: 2
log_lvl: 1
})
.then(async function (create__obj_result) {
if (!create__obj_result) {
@@ -750,8 +750,7 @@ async function handle_update__data_store({
<!-- {/if} -->
{:else}
<!-- Nothing to see yet -->
{/if}
<!-- Text: