BOD-34 Added jobs items and conditional rendering for print center.
This commit is contained in:
@@ -32,8 +32,8 @@ export function PrintCenterModalContainer({
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const { visible, context, actions } = printCenterModal;
|
||||
// const { jobId, linesToOrder } = context;
|
||||
const { visible, context } = printCenterModal;
|
||||
const { type, id } = context;
|
||||
// const { refetch } = actions;
|
||||
|
||||
return (
|
||||
@@ -41,7 +41,7 @@ export function PrintCenterModalContainer({
|
||||
visible={visible}
|
||||
onCancel={() => toggleModalVisible()}
|
||||
width='90%'
|
||||
title={t("printcenter.labels.title")}
|
||||
title={` ${t("printcenter.labels.title")} ${type} - ${id}`}
|
||||
destroyOnClose>
|
||||
<PrintCenterModalComponent context={context} />
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user