mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
Increase timeout for report printing (#8187)
This commit is contained in:
parent
fda47ff6ee
commit
83be3cfa71
@ -92,7 +92,7 @@ export function PrintingActions({
|
|||||||
url: apiUrl(ApiEndpoints.label_print),
|
url: apiUrl(ApiEndpoints.label_print),
|
||||||
title: t`Print Label`,
|
title: t`Print Label`,
|
||||||
fields: labelFields,
|
fields: labelFields,
|
||||||
timeout: (items.length + 1) * 1000,
|
timeout: (items.length + 1) * 5000,
|
||||||
onClose: () => {
|
onClose: () => {
|
||||||
setPluginKey('');
|
setPluginKey('');
|
||||||
},
|
},
|
||||||
@ -121,7 +121,7 @@ export function PrintingActions({
|
|||||||
const reportModal = useCreateApiFormModal({
|
const reportModal = useCreateApiFormModal({
|
||||||
title: t`Print Report`,
|
title: t`Print Report`,
|
||||||
url: apiUrl(ApiEndpoints.report_print),
|
url: apiUrl(ApiEndpoints.report_print),
|
||||||
timeout: (items.length + 1) * 1000,
|
timeout: (items.length + 1) * 5000,
|
||||||
fields: {
|
fields: {
|
||||||
template: {
|
template: {
|
||||||
filters: {
|
filters: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user