fix: add watcher for currentCategory to update participants
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user