forked from verdnatura/salix-front
feat: refs #4074 drop useless code
This commit is contained in:
parent
86e1396da4
commit
3693ba0c99
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue