0
0
Fork 0

fix: ticket notes translation and deleted useless code

This commit is contained in:
Jon Elias 2024-11-27 12:53:07 +01:00
parent 07ba02aec8
commit e764f4066f
2 changed files with 2 additions and 7 deletions

View File

@ -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"

View File

@ -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();
};