Add refresh button to job detail page.

This commit is contained in:
Patrick Fic
2022-04-18 15:34:12 -07:00
parent 65bf81b349
commit 6998a11a3a
5 changed files with 34 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import Icon, {
PrinterFilled,
ToolFilled,
HistoryOutlined,
SyncOutlined,
} from "@ant-design/icons";
import {
Button,
@@ -178,6 +179,15 @@ export function JobsDetailPage({
const menuExtra = (
<Space wrap>
<Button
onClick={() => {
refetch();
}}
key="refresh"
>
<SyncOutlined />
{t("general.labels.refresh")}
</Button>
<JobsChangeStatus job={job} />
<JobSyncButton job={job} />
<Button