1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-01-05 21:37:58 +01:00

Merge pull request #3600 from h3poteto/iss-3574

refs #3574 Fix clearing notification dot on mention
This commit is contained in:
AkiraFukushima 2022-09-05 01:04:17 +09:00 committed by GitHub
commit d424c1edda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ export default defineComponent({
const shortcutEnabled = computed(() => !modalOpened.value)
onMounted(() => {
store.commit(`TimelineSpace/SideMenu/${SIDE_MENU_MUTATION.CHANGE_UNREAD_HOME_TIMELINE}`, false)
store.commit(`TimelineSpace/SideMenu/${SIDE_MENU_MUTATION.CHANGE_UNREAD_MENTIONS}`, false)
document.getElementById('scroller')?.addEventListener('scroll', onScroll)
if (heading.value && mentions.value.length > 0) {