Too many changes. Getting ready to show Jordan.

This commit is contained in:
Scott Idem
2024-03-03 12:31:32 -05:00
parent 1b12cd4aec
commit 64589ec11c
12 changed files with 296 additions and 278 deletions

View File

@@ -30,7 +30,7 @@ const modalComponentEditSponsorshipObj: ModalComponent = { ref: Edit_modal_spons
const modal_edit__sponsorship_obj: ModalSettings = {
type: 'component',
component: modalComponentEditSponsorshipObj,
title: 'Edit Your Sponsorship',
title: 'Edit Your Sponsorship Submission',
position: '', // default is "items-center"
response: (r: boolean | undefined) => handle_modal_close(r)
@@ -64,6 +64,8 @@ $ae_loc.site_domain = data.url.origin;
$ae_loc.mod.sponsorships.show_edit__sponsorship_obj = false;
$ae_loc.mod.sponsorships.show_view__sponsorship_obj = false;
let ae_sponsorship_obj_get_promise: Promise<any>;
onMount(() => {
console.log('Sponsorships [New/Edit]: +page.svelte');
@@ -169,8 +171,6 @@ $: if ($slct_trigger == 'load__sponsorship_obj' && $slct.sponsorship_id) {
// $slct_trigger = 'show_edit__sponsorship_obj';
}
let ae_sponsorship_obj_get_promise;
async function handle_load_ae_obj_id__sponsorship({sponsorship_id, try_cache=false}) {
console.log(`*** handle_load_ae_obj_id__sponsorship() *** sponsorship_id=${sponsorship_id}`);
@@ -184,7 +184,7 @@ async function handle_load_ae_obj_id__sponsorship({sponsorship_id, try_cache=fal
use_alt_table: false, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value in the API config.
params: params,
log_lvl: 1
log_lvl: 0
})
.then(function (sponsorship_obj_get_result) {
if (sponsorship_obj_get_result) {