Too many changes. Getting ready to show Jordan.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user