Introduced JS report and refactored some doc generation. IO-585
This commit is contained in:
@@ -25,14 +25,14 @@ export function PrintCenterItemComponent({
|
||||
disabled,
|
||||
}) {
|
||||
const renderToNewWindow = async () => {
|
||||
const html = await RenderTemplate(
|
||||
await RenderTemplate(
|
||||
{
|
||||
name: item.key,
|
||||
variables: { id: id },
|
||||
},
|
||||
bodyshop
|
||||
);
|
||||
displayTemplateInWindow(html);
|
||||
// displayTemplateInWindow(html);
|
||||
};
|
||||
|
||||
if (disabled) return <li className="print-center-item">{item.title} </li>;
|
||||
|
||||
Reference in New Issue
Block a user