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