diff --git a/package-lock.json b/package-lock.json index da3eb26d6..1af3be8e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5754,9 +5754,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001344", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001344.tgz", - "integrity": "sha512-0ZFjnlCaXNOAYcV7i+TtdKBp0L/3XEU2MF/x6Du1lrh+SRX4IfzIVL4HNJg5pB2PmFb8rszIGyOvsZnqqRoc2g==", + "version": "1.0.30001431", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", + "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", "dev": true, "funding": [ { @@ -25351,9 +25351,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001344", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001344.tgz", - "integrity": "sha512-0ZFjnlCaXNOAYcV7i+TtdKBp0L/3XEU2MF/x6Du1lrh+SRX4IfzIVL4HNJg5pB2PmFb8rszIGyOvsZnqqRoc2g==", + "version": "1.0.30001431", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", + "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", "dev": true }, "capture-exit": { diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index e5c5676f7..7ffe3d888 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -1,4 +1,5 @@ + diff --git a/src/composables/useState.js b/src/composables/useState.js index c17b8af5b..f0ff830ab 100644 --- a/src/composables/useState.js +++ b/src/composables/useState.js @@ -12,6 +12,7 @@ const user = ref({ const roles = ref([]); const drawer = ref(true); +const headerMounted = ref(false); export function useState() { function getUser() { @@ -67,6 +68,7 @@ export function useState() { set, get, unset, - drawer + drawer, + headerMounted }; } diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 0418c8f3b..9c8a686c3 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -1,11 +1,15 @@ diff --git a/src/pages/Claim/Card/ClaimRma.vue b/src/pages/Claim/Card/ClaimRma.vue index 4162d5acf..345df2010 100644 --- a/src/pages/Claim/Card/ClaimRma.vue +++ b/src/pages/Claim/Card/ClaimRma.vue @@ -6,6 +6,7 @@ import { useRoute } from 'vue-router'; import axios from 'axios'; import Paginate from 'src/components/Paginate.vue'; import FetchData from 'src/components/FetchData.vue'; +import TeleportSlot from 'components/ui/TeleportSlot'; import { toDate } from 'src/filters'; const quasar = useQuasar(); @@ -77,54 +78,44 @@ function hide() { ref="fetcher" :url="`Claims/${route.params.id}`" :filter="filter" - @on-fetch="($data) => (claim = $data)" + @on-fetch="(data) => (claim = data)" auto-load /> -
- - - -
- -
-
-
+ + + - - - -
@@ -138,6 +129,20 @@ function hide() { + +
+ + {{ t('globals.add') }} + + +
+
+ + + + + +