IO-976 Print Center UI updates

This commit is contained in:
Patrick Fic
2021-05-04 08:58:57 -07:00
parent d7b39cb7c1
commit 7892cdc457

View File

@@ -23,15 +23,18 @@ export function PrintCenterModalContainer({
const { t } = useTranslation(); const { t } = useTranslation();
const { visible, context } = printCenterModal; const { visible, context } = printCenterModal;
const { type } = context; //const { type } = context;
// const { refetch } = actions; // const { refetch } = actions;
return ( return (
<Modal <Modal
visible={visible} visible={visible}
onOk={() => toggleModalVisible()}
onCancel={() => toggleModalVisible()} onCancel={() => toggleModalVisible()}
cancelButtonProps={{ style: { display: "none" } }}
okText={t("general.actions.close")}
width="90%" width="90%"
title={` ${t("printcenter.labels.title")} - ${type}`} title={t("printcenter.labels.title")}
destroyOnClose destroyOnClose
> >
<PrintCenterModalComponent context={context} /> <PrintCenterModalComponent context={context} />