Updates getting ready for LCI

This commit is contained in:
Scott Idem
2025-06-24 18:51:07 -04:00
parent 7b4ec1fe7e
commit dde9801fe6
2 changed files with 6 additions and 15 deletions

View File

@@ -456,7 +456,7 @@ let lq__auth__event_presenter_obj = $derived(liveQuery(async () => {
<style lang="postcss">
/* Use the div.ae_quick_modal_container to block background clicks when ung the section.ae_quick_popover. */
div.ae_quick_modal_container {
/* div.ae_quick_modal_container {
position: fixed;
top: 0;
left: 0;
@@ -464,31 +464,21 @@ div.ae_quick_modal_container {
height: 100%;
z-index: 100;
background-color: hsla(0, 0%, 50%, .75);
/* padding: 1rem; */
/* border: solid thick red; */
}
} */
/* The section.ae_quick_popover should be above the rest of the content and centered on the page. */
section.ae_quick_popover {
/* section.ae_quick_popover {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 100;
background-color: hsla(0, 0%, 97%, .97);
/* margin-top: 1rem;
margin-bottom: 2rem; */
/* padding: 1rem;
padding-top:4rem; */
/* padding-bottom: 4rem; */
border: solid thin hsla(0, 0%, 0%, .9);
border-radius: .5rem;
box-shadow: 0 0 1rem hsla(0, 0%, 0%, .5);
min-height: 30%;
/* max-height: 100vh; */
min-width: 80%;
/* overflow-y: auto; */
}
} */
</style>

View File

@@ -1209,6 +1209,7 @@ $: if ($lq__event_presenter_obj) {
for_obj_type: 'account',
for_obj_id: $slct.account_id,
limit: $ae_loc.person.qry_limit__people,
order_by_li: {'family_name': 'ASC', 'given_name': 'ASC', 'updated_on': 'DESC', 'created_on': 'DESC'},
// params: params
})
.then(function (load_results) {
@@ -1220,7 +1221,7 @@ $: if ($lq__event_presenter_obj) {
let person_obj_kv = {};
person_obj_kv[''] = '-- Select a person --';
person_obj_li.forEach((person_obj) => {
let option_text = `${person_obj.full_name} (${person_obj.primary_email})`;
let option_text = `${person_obj?.last_first_name ?? person_obj?.given_name} (${person_obj?.primary_email?.length ? person_obj?.primary_email : '-- not set --'})`;
person_obj_kv[person_obj.person_id_random] = option_text;
});
$slct.person_obj_kv = person_obj_kv;