diff --git a/src/components/CreateThermographForm.vue b/src/components/CreateThermographForm.vue index f3e1ca481..d4511a0e7 100644 --- a/src/components/CreateThermographForm.vue +++ b/src/components/CreateThermographForm.vue @@ -110,4 +110,5 @@ es: Model: Modelo Warehouse: Almacén Temperature: Temperatura + New thermograph: Nuevo termógrafo diff --git a/src/components/common/VnSelectDialog.vue b/src/components/common/VnSelectDialog.vue index 2ec3d1b1a..355a25109 100644 --- a/src/components/common/VnSelectDialog.vue +++ b/src/components/common/VnSelectDialog.vue @@ -24,6 +24,10 @@ const $props = defineProps({ type: String, default: 'add', }, + tooltip: { + type: String, + default: '', + }, }); const role = useRole(); @@ -55,7 +59,9 @@ const toggleForm = () => { :name="actionIcon" :size="actionIcon === 'add' ? 'xs' : 'sm'" :class="['default-icon', { '--add-icon': actionIcon === 'add' }]" - /> + > + {{ tooltip }} + diff --git a/src/pages/Travel/Card/TravelThermographs.vue b/src/pages/Travel/Card/TravelThermographs.vue index 96f8c55c3..435d9054f 100644 --- a/src/pages/Travel/Card/TravelThermographs.vue +++ b/src/pages/Travel/Card/TravelThermographs.vue @@ -198,7 +198,7 @@ const removeThermograph = async (id) => { color="primary" @click="redirectToThermographForm('create')" /> - + {{ t('Add thermograph') }} diff --git a/src/pages/Travel/Card/TravelThermographsForm.vue b/src/pages/Travel/Card/TravelThermographsForm.vue index db37d78a5..6758cb6ff 100644 --- a/src/pages/Travel/Card/TravelThermographsForm.vue +++ b/src/pages/Travel/Card/TravelThermographsForm.vue @@ -244,6 +244,7 @@ const onThermographCreated = async (data) => { option-value="thermographFk" option-label="thermographFk" :disable="viewAction === 'edit'" + :tooltip="t('New thermograph')" >