Minor improvements for assigning a POC to a Session.
This commit is contained in:
@@ -44,6 +44,7 @@ import {
|
||||
Mail,
|
||||
MapPin,
|
||||
Pencil,
|
||||
RefreshCw,
|
||||
Unlink
|
||||
} from '@lucide/svelte';
|
||||
|
||||
@@ -111,7 +112,7 @@ async function load_person_options_for_session_poc() {
|
||||
api_cfg: $ae_api,
|
||||
for_obj_type: 'account',
|
||||
for_obj_id: $slct.account_id,
|
||||
limit: $ae_loc.person.qry_limit__people,
|
||||
limit: 1000, // We need to keep this limit high to show all people for selection: $ae_loc.person.qry_limit__people
|
||||
order_by_li: {
|
||||
family_name: 'ASC',
|
||||
given_name: 'ASC',
|
||||
@@ -588,9 +589,12 @@ async function send_poc_email_link() {
|
||||
<button
|
||||
type="button"
|
||||
onclick={load_person_options_for_session_poc}
|
||||
class="btn btn-xs preset-tonal-warning mt-1">
|
||||
<Pencil size="1em" class="mr-1" />
|
||||
{person_options_loaded ? 'Reload' : 'Select'} Person
|
||||
class="btn btn-sm preset-tonal-warning group">
|
||||
<!-- <Pencil size="1em" class="" /> -->
|
||||
<RefreshCw size="1em" class="text-xs" />
|
||||
<span class="hidden group-hover:inline-block">
|
||||
{person_options_loaded ? 'Refresh' : 'Select Person'}
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user