Ready to demo for Precon CHOW again
This commit is contained in:
@@ -101,9 +101,11 @@ onMount(() => {
|
||||
ae_util.handle_url_and_message('sponsorship_cfg_id', $slct.sponsorship_cfg_id);
|
||||
ae_util.handle_url_and_message('sponsorship_id', $slct.sponsorship_id);
|
||||
if ($slct.sponsorship_id) {
|
||||
console.log(`Got an ID. Let's clear the modal store and show the modal!`);
|
||||
console.log(`Got an ID. Let's clear the modal store just in case!`);
|
||||
modalStore.clear();
|
||||
modalStore.trigger(modal_edit__sponsorship_obj);
|
||||
// Showing this modal like this seems to cause problems. The styles do not load or something.
|
||||
// console.log(`Got an ID. Let's clear the modal store and show the modal!`);
|
||||
// modalStore.trigger(modal_edit__sponsorship_obj);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -467,9 +467,9 @@ async function handle_submit_form(event) {
|
||||
});
|
||||
console.log(ae_promises.create__sponsorship);
|
||||
$slct.sponsorship_id = ae_promises.create__sponsorship.obj_id_random;
|
||||
// $ae_loc.mod.sponsorships.link = `${$ae_loc.href_url}/load?sponsorship_id=${$slct.sponsorship_id}`;
|
||||
$ae_loc.mod.sponsorships.link = `${$ae_loc.site_domain}/sponsorships/load?sponsorship_id=${$slct.sponsorship_id}`;
|
||||
console.log('Sponsorship link:', $ae_loc.mod.sponsorships.link);
|
||||
|
||||
$ae_sess.mod.sponsorships.disable_submit__sponsorship_obj = false;
|
||||
$ae_sess.mod.sponsorships.submit_status = 'created';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user