feat: refs #6822 change request
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2025-01-24 13:16:17 +01:00
parent 2ee3ba5251
commit b2e54e1f7f
2 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ const getEntryRedirectionFilter = (entry) => {
ref="entryDescriptorRef" ref="entryDescriptorRef"
module="Entry" module="Entry"
:url="`Entries/${entityId}`" :url="`Entries/${entityId}`"
:filter="entryFilter" :userFilter="entryFilter"
title="supplier.nickname" title="supplier.nickname"
data-key="Entry" data-key="Entry"
> >

View File

@ -35,9 +35,9 @@ const openDialog = () => {
}; };
const transferEntry = async () => { const transferEntry = async () => {
let response = await axios.post(`Entries/${route.params.id}/transfer`); const { data } = await axios.post(`Entries/${route.params.id}/transfer`);
notify('globals.dataSaved', 'positive'); notify('globals.dataSaved', 'positive');
const url = `#/entry/${response.data.newEntryFk[0].newEntryFk}/summary`; const url = `#/entry/${data.newEntryFk.newEntryFk}/summary`;
window.open(url, '_blank'); window.open(url, '_blank');
}; };
</script> </script>