diff --git a/src/frontend/src/components/buttons/PrintingActions.tsx b/src/frontend/src/components/buttons/PrintingActions.tsx index fbeb5deab1..43dce5b3bd 100644 --- a/src/frontend/src/components/buttons/PrintingActions.tsx +++ b/src/frontend/src/components/buttons/PrintingActions.tsx @@ -92,7 +92,7 @@ export function PrintingActions({ url: apiUrl(ApiEndpoints.label_print), title: t`Print Label`, fields: labelFields, - timeout: (items.length + 1) * 1000, + timeout: (items.length + 1) * 5000, onClose: () => { setPluginKey(''); }, @@ -121,7 +121,7 @@ export function PrintingActions({ const reportModal = useCreateApiFormModal({ title: t`Print Report`, url: apiUrl(ApiEndpoints.report_print), - timeout: (items.length + 1) * 1000, + timeout: (items.length + 1) * 5000, fields: { template: { filters: { diff --git a/src/frontend/src/pages/build/BuildDetail.tsx b/src/frontend/src/pages/build/BuildDetail.tsx index 20ca1fc9dd..ebe2e7196c 100644 --- a/src/frontend/src/pages/build/BuildDetail.tsx +++ b/src/frontend/src/pages/build/BuildDetail.tsx @@ -11,7 +11,6 @@ import { IconListNumbers, IconNotes, IconPaperclip, - IconQrcode, IconReportAnalytics, IconSitemap } from '@tabler/icons-react'; diff --git a/src/frontend/src/pages/part/PartDetail.tsx b/src/frontend/src/pages/part/PartDetail.tsx index 8fed408981..07a54915ab 100644 --- a/src/frontend/src/pages/part/PartDetail.tsx +++ b/src/frontend/src/pages/part/PartDetail.tsx @@ -38,6 +38,7 @@ import Select from 'react-select'; import { api } from '../../App'; import AdminButton from '../../components/buttons/AdminButton'; +import { PrintingActions } from '../../components/buttons/PrintingActions'; import { DetailsField, DetailsTable } from '../../components/details/Details'; import DetailsBadge from '../../components/details/DetailsBadge'; import { DetailsImage } from '../../components/details/DetailsImage'; @@ -980,6 +981,12 @@ export default function PartDetail() { ]} key="action_dropdown" />, + , }