From ab7d6ac90f6e1eacd60b05eac444c24aa7e88a9d 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 556d999ed..35821ea18 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 d414bbf2e..6ca0972b0 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 51e08b496..5baabd2d6 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');