fix refresh button patient page

This commit is contained in:
faiztyanirh 2026-04-11 11:48:34 +07:00
parent 0c65d607d2
commit 3ebea51ee7

View File

@ -13,7 +13,7 @@
const search = useSearch(searchFields, searchParam);
const handlers = {
refresh: () => alert('velom visa, savar!'),
refresh: () => {search.handleSearch()},
};
const actions = patientActions(props.masterDetail, handlers)
actions.find(a => a.label === 'Search Parameters').popoverContent = searchParamSnippet;
@ -40,7 +40,7 @@
<span class="flex flex-col items-center justify-start gap-4 tracking-widest font-semibold select-none h-full">
<MoveLeftIcon />
<div class="flex flex-col items-center justify-center flex-grow gap-4">
{#each "BACK TO PATIENT".split("") as c}
{#each "PATIENT".split("") as c}
<span class="leading-none">{c}</span>
{/each}
</div>