From f7ed1b77cc3ff56250a54686f6839b715e681d0d Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 9 Sep 2022 15:04:31 -0700 Subject: [PATCH] fix: :bug: Show title on mobile if there's no tab buttons --- package.json | 2 +- packages/client/src/components/global/MkPageHeader.vue | 2 +- packages/client/src/pages/explore.vue | 10 +--------- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 556d999ed6..35821ea183 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.118.1-calc.2-rc.24", + "version": "12.118.1-calc.2-rc.25", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/global/MkPageHeader.vue b/packages/client/src/components/global/MkPageHeader.vue index d414bbf2e3..6ca0972b01 100644 --- a/packages/client/src/components/global/MkPageHeader.vue +++ b/packages/client/src/components/global/MkPageHeader.vue @@ -10,7 +10,7 @@
-
{{ metadata.title }}
+
{{ metadata.title }}
{{ metadata.subtitle }}
diff --git a/packages/client/src/pages/explore.vue b/packages/client/src/pages/explore.vue index 51e08b4966..5baabd2d6a 100644 --- a/packages/client/src/pages/explore.vue +++ b/packages/client/src/pages/explore.vue @@ -28,7 +28,6 @@
- @@ -59,16 +58,9 @@ const props = defineProps<{ tag?: string; }>(); -let featured = $ref('featured'); const tabs = ['featured', 'users', 'search']; -let tab = $computed({ - get: () => featured, - set: (x) => { - syncSlide(tabs.indexOf(x)); - }, -}); - +let tab = $ref('featured'); let tagsEl = $ref>(); let searchQuery = $ref(null); let searchOrigin = $ref('combined');