diff --git a/app/components/app/encounter/filter-nav.vue b/app/components/app/encounter/filter-nav.vue index 2a16d723..947148aa 100644 --- a/app/components/app/encounter/filter-nav.vue +++ b/app/components/app/encounter/filter-nav.vue @@ -8,6 +8,7 @@ import { cn } from '~/lib/utils' import type { RefExportNav, RefSearchNav } from '~/components/pub/my-ui/data/types' const props = defineProps<{ + activePositon?: string refSearchNav?: RefSearchNav enableExport?: boolean refExportNav?: RefExportNav @@ -30,6 +31,8 @@ const props = defineProps<{ // } const searchQuery = ref('') +const isRoleRegistration = props.activePositon === 'registration' +const isRoleMedical = props.activePositon === 'medical' const dateRange = ref<{ from: Date | null; to: Date | null }>({ from: new Date(), to: new Date(), @@ -70,7 +73,7 @@ const value = ref({