From bba6050c5f3d977ce462dfc69d4de1f70fe19520 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 8 Aug 2023 12:36:11 +0200 Subject: [PATCH 1/4] refs #6082 navBar --- src/components/NavBar.vue | 42 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 7b7b1097f..41654f815 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -6,6 +6,7 @@ import UserPanel from 'components/UserPanel.vue'; import { useState } from 'src/composables/useState'; import { useStateStore } from 'stores/useStateStore'; import PinnedModules from './PinnedModules.vue'; +import { useQuasar } from 'quasar'; const { t } = useI18n(); const session = useSession(); @@ -14,6 +15,7 @@ const state = useState(); const user = state.getUser(); const token = session.getToken(); const appName = 'Lilium'; +const quasar = useQuasar(); onMounted(() => stateStore.setMounted()); @@ -34,7 +36,13 @@ onMounted(() => stateStore.setMounted()); - + stateStore.setMounted());
- + {{ t('globals.pinnedModules') }} - + stateStore.setMounted()); + + From f127c1019bb690739beb9bc835ef153e7566ea74 Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 9 Aug 2023 14:41:50 +0200 Subject: [PATCH 2/4] refs #6082 v-if mobile icon search --- src/components/NavBar.vue | 25 ++++++++++--------------- src/components/ui/VnSearchbar.vue | 4 +++- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 41654f815..7f7fc4b4e 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -77,7 +77,14 @@ onMounted(() => stateStore.setMounted()); - + stateStore.setMounted()); diff --git a/src/components/ui/VnSearchbar.vue b/src/components/ui/VnSearchbar.vue index 453af78af..f495a49bb 100644 --- a/src/components/ui/VnSearchbar.vue +++ b/src/components/ui/VnSearchbar.vue @@ -2,6 +2,8 @@ import { onMounted, ref } from 'vue'; import { useRouter, useRoute } from 'vue-router'; import { useArrayData } from 'composables/useArrayData'; +import { useQuasar } from 'quasar'; +const quasar = useQuasar(); const props = defineProps({ dataKey: { @@ -93,7 +95,7 @@ async function search() { autofocus > - + --> From 36a487a9fcabc916aa746379664588f2841b744f Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 21 Aug 2023 12:50:01 +0200 Subject: [PATCH 4/4] refs #6082 navBar fix mobile --- src/components/NavBar.vue | 17 +++++++---------- src/components/PinnedModules.vue | 16 +++++----------- src/components/ui/VnSearchbar.vue | 6 +----- 3 files changed, 13 insertions(+), 26 deletions(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index fa0a505f9..7d09b09b8 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -62,7 +62,7 @@ const pinnedModulesRef = ref(); - +
@@ -77,7 +77,7 @@ const pinnedModulesRef = ref(); - + en: Go to Salix: Go to Salix diff --git a/src/components/PinnedModules.vue b/src/components/PinnedModules.vue index c85b6b2fa..5f291b580 100644 --- a/src/components/PinnedModules.vue +++ b/src/components/PinnedModules.vue @@ -35,19 +35,13 @@ async function redirect() {