fix: add watcher for currentCategory to update participants

This commit is contained in:
KerollesFathy
2025-12-13 15:18:37 +00:00
parent f8c10d1807
commit 4580ab0181

View File

@@ -111,7 +111,7 @@ import {
Select,
usePageMeta,
} from 'frappe-ui'
import { computed, inject, onMounted, ref } from 'vue'
import { computed, inject, onMounted, ref, watch } from 'vue'
import { GraduationCap } from 'lucide-vue-next'
import { sessionStore } from '../stores/session'
import EmptyState from '@/components/EmptyState.vue'
@@ -220,6 +220,10 @@ usePageMeta(() => {
icon: brand.favicon,
}
})
watch(currentCategory, (val) => {
updateParticipants()
})
</script>
<style>
.headline {