diff --git a/src/components/helpcenter/WhatsNewPopup.vue b/src/components/helpcenter/WhatsNewPopup.vue index a1b12bc5b..794c61e9b 100644 --- a/src/components/helpcenter/WhatsNewPopup.vue +++ b/src/components/helpcenter/WhatsNewPopup.vue @@ -75,6 +75,11 @@ import { formatVersionAnchor } from '@/utils/formatUtil' const { locale, t } = useI18n() const releaseStore = useReleaseStore() +// Define emits +const emit = defineEmits<{ + 'whats-new-dismissed': [] +}>() + // Local state for dismissed status const isDismissed = ref(false) @@ -126,6 +131,7 @@ const show = () => { const hide = () => { isDismissed.value = true + emit('whats-new-dismissed') } const closePopup = async () => {