forked from verdnatura/salix-front
refactor: refs #6899 corrected api call
This commit is contained in:
parent
5112ae7e1a
commit
41052cce28
|
@ -140,7 +140,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
|||
|
||||
function openPdf(id) {
|
||||
try {
|
||||
openReport(`${MODEL}//${id}/download`);
|
||||
openReport(`${MODEL}/${id}/download`);
|
||||
} catch (err) {
|
||||
console.error('Error opening PDF', err);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue