Various samll bugfixes.

This commit is contained in:
Patrick Fic
2020-09-16 12:36:31 -07:00
parent 223cf35244
commit 2e99a2eee2
11 changed files with 89 additions and 38 deletions

View File

@@ -1,12 +1,15 @@
import React from "react";
import { PrinterFilled } from "@ant-design/icons";
import { useTranslation } from "react-i18next";
export default function JobChecklistTemplateItem({
templateKey,
renderTemplate,
}) {
const { t } = useTranslation();
return (
<div>
{templateKey}
{t(`printcenter.jobs.${templateKey}`)}
<PrinterFilled onClick={() => renderTemplate(templateKey)} />
</div>
);