diff --git a/package.json b/package.json index a1d87c88f..f7f1346bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.118.1-calc.2-beta.2-rc.13", + "version": "12.118.1-calc.2-beta.2-rc.14", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/global/MkPageHeader.vue b/packages/client/src/components/global/MkPageHeader.vue index 48e53e1a2..b5c42be8d 100644 --- a/packages/client/src/components/global/MkPageHeader.vue +++ b/packages/client/src/components/global/MkPageHeader.vue @@ -14,15 +14,11 @@
{{ metadata.subtitle }}
-
diff --git a/packages/client/src/pages/notifications.vue b/packages/client/src/pages/notifications.vue index 3e3532ba1..107fb69d6 100644 --- a/packages/client/src/pages/notifications.vue +++ b/packages/client/src/pages/notifications.vue @@ -45,11 +45,17 @@ import { definePageMetadata } from '@/scripts/page-metadata'; import { deviceKind } from '@/scripts/device-kind'; import 'swiper/scss'; import 'swiper/scss/virtual'; -let tab = $ref('all'); let includeTypes = $ref(null); let unreadOnly = $computed(() => tab === 'unread'); os.api('notifications/mark-all-as-read'); +const tab = $computed({ + get: () => 'all', + set: (x) => { + syncSlide(['all', 'unread', 'mentions', 'directNotes'].indexOf(x)); + }, +}); + const MOBILE_THRESHOLD = 500; const isMobile = ref( deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD, diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts index 2cbd21f83..7a09d76a9 100644 --- a/packages/client/src/store.ts +++ b/packages/client/src/store.ts @@ -73,8 +73,8 @@ export const defaultStore = markRaw(new Storage('base', { 'notifications',, 'followRequests', 'messaging', - 'favorites', 'explore', + 'favorites', 'channels', 'search', ],