0
0
Fork 0

mini fix in travel termograph create

This commit is contained in:
William Buezas 2024-01-30 22:12:53 -03:00
parent f0778daaa6
commit 26a1b29070
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ const openRemoveDialog = async (id) => {
});
};
const redirectToThermographForm = (action, { id = null }) => {
const redirectToThermographForm = (action, id = null) => {
const routeDetails = {
name: action === 'create' ? 'TravelThermographsCreate' : 'TravelThermographsEdit',
};
@ -162,7 +162,7 @@ const removeThermograph = async (id) => {
color="primary"
size="sm"
class="cursor-pointer"
@click="redirectToThermographForm('edit', row)"
@click="redirectToThermographForm('edit', row.id)"
>
<QTooltip>{{ t('Edit file') }}</QTooltip>
</QIcon>