forked from verdnatura/salix-front
fix: ticket notes translation and deleted useless code
This commit is contained in:
parent
07ba02aec8
commit
e764f4066f
|
@ -269,7 +269,7 @@ function toTicketUrl(section) {
|
|||
<QCard class="vn-one" v-if="entity.notes.length">
|
||||
<VnTitle
|
||||
:url="toTicketUrl('observation')"
|
||||
:text="t('ticket.pageTitles.notes')"
|
||||
:text="t('globals.pageTitles.notes')"
|
||||
/>
|
||||
<QVirtualScroll
|
||||
:items="entity.notes"
|
||||
|
|
|
@ -67,12 +67,7 @@ const exclusionGeoCreate = async () => {
|
|||
};
|
||||
|
||||
const exclusionCreate = async () => {
|
||||
if (isNew.value)
|
||||
await axios.post(`Zones/${route.params.id}/exclusions`, [{ dated: dated }]);
|
||||
else
|
||||
await axios.post(`Zones/${route.params.id}/exclusions`, {
|
||||
dated: dated,
|
||||
});
|
||||
await axios.post(`Zones/${route.params.id}/exclusions`, [{ dated: dated }]);
|
||||
await refetchEvents();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue