0
0
Fork 0

feat: refs #4074 drop useless code

This commit is contained in:
Jorge Penadés 2024-09-06 15:37:33 +02:00
parent 86e1396da4
commit 3693ba0c99
1 changed files with 1 additions and 6 deletions

View File

@ -4,7 +4,6 @@ import { useRoute } from 'vue-router';
import { useI18n } from 'vue-i18n';
import CardSummary from 'components/ui/CardSummary.vue';
import VnLv from 'src/components/ui/VnLv.vue';
import { useAcl } from 'src/composables/useAcl';
import { dashIfEmpty } from 'src/filters';
import VnUserLink from 'src/components/ui/VnUserLink.vue';
import VnTitle from 'src/components/common/VnTitle.vue';
@ -31,11 +30,7 @@ async function setData(data) {
}
}
const getUrl = (section) =>
useAcl().hasAny('Supplier','*','WRITE') ? `#/supplier/${entityId.value}/${section}`:'';
const getUrl = (section) => `#/supplier/${entityId.value}/${section}`;
</script>
<template>