diff --git a/src/pages/Item/Card/ItemTags.vue b/src/pages/Item/Card/ItemTags.vue
index 3067c9768..01df1009b 100644
--- a/src/pages/Item/Card/ItemTags.vue
+++ b/src/pages/Item/Card/ItemTags.vue
@@ -1,5 +1,5 @@
@@ -85,14 +78,17 @@ onMounted(() => {
data-key="ItemTags"
model="ItemTags"
url="ItemTags"
- save-url="Tags/onSubmit"
- auto-load
+ update-url="Tags/onSubmit"
:data-required="{
+ $index: undefined,
itemFk: route.params.id,
- priority: getHighestPriority,
+ priority: undefined,
tag: {
isFree: undefined,
+ value: undefined,
+ name: undefined,
},
+ tagFk: undefined,
}"
:default-remove="false"
:filter="{
@@ -106,6 +102,8 @@ onMounted(() => {
},
},
}"
+ auto-load
+ @on-fetch="onItemTagsFetched"
>
@@ -115,32 +113,39 @@ onMounted(() => {
class="row q-gutter-md q-mb-md"
>
handleTagSelected(rows, index, $event)
+ "
/>
@@ -153,37 +158,27 @@ onMounted(() => {
size="sm"
>
- {{ t('Remove tag') }}
+ {{ t('itemTags.removeTag') }}
- {{ t('Add tag') }}
+ {{ t('itemTags.addTag') }}
- {{ itemTags }}
-
-
-es:
- Remove tag: Quitar etiqueta
- Add tag: Añadir etiqueta
- Tag: Etiqueta
- Value: Valor
- Relevancy: Relevancia
-
diff --git a/src/pages/Item/locale/en.yml b/src/pages/Item/locale/en.yml
index 9acd1de4d..2ffcd3661 100644
--- a/src/pages/Item/locale/en.yml
+++ b/src/pages/Item/locale/en.yml
@@ -34,3 +34,9 @@ lastEntries:
package: Package
freight: Freight
comission: Comission
+itemTags:
+ removeTag: Remove tag
+ addTag: Add tag
+ tag: Tag
+ value: Value
+ relevancy: Relevancy
diff --git a/src/pages/Item/locale/es.yml b/src/pages/Item/locale/es.yml
index 46e0d9eb7..3047239f2 100644
--- a/src/pages/Item/locale/es.yml
+++ b/src/pages/Item/locale/es.yml
@@ -34,3 +34,9 @@ lastEntries:
package: Embalaje
freight: Porte
comission: Comisión
+itemTags:
+ removeTag: Quitar etiqueta
+ addTag: Añadir etiqueta
+ tag: Etiqueta
+ value: Valor
+ relevancy: Relevancia