diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 9571c742e..f33b33717 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -49,7 +49,6 @@ onMounted(async () => { () => $props.url, async (newUrl, lastUrl) => { if (newUrl == lastUrl) return; - entity.value = null; await getData(); } ); @@ -62,7 +61,6 @@ async function getData() { skip: 0, }); const { data } = await arrayData.fetch({ append: false, updateRouter: false }); - entity.value = data; emit('onFetch', data); } const emit = defineEmits(['onFetch']); diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue index 81a1820f1..1a6549856 100644 --- a/src/components/ui/VnSubToolbar.vue +++ b/src/components/ui/VnSubToolbar.vue @@ -1,6 +1,7 @@ + diff --git a/src/composables/tMobile.js b/src/composables/tMobile.js index a6a000b81..61b8e87b4 100644 --- a/src/composables/tMobile.js +++ b/src/composables/tMobile.js @@ -4,5 +4,5 @@ import { useI18n } from 'vue-i18n'; export function tMobile(...args) { const quasar = useQuasar(); const { t } = useI18n(); - if (!quasar.platform.is.mobile) return t(...args); + if (!quasar.screen.xs) return t(...args); } diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index b6c948c96..64cf736a9 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -1,27 +1,13 @@