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

View File

@@ -990,6 +990,7 @@
"passwordresetvalidatesuccess_sub": "You may now sign in again using your new password. ",
"passwordsdonotmatch": "The passwords you have entered do not match.",
"print": "Print",
"refresh": "Refresh",
"required": "Required",
"saturday": "Saturday",
"search": "Search...",

View File

@@ -990,6 +990,7 @@
"passwordresetvalidatesuccess_sub": "",
"passwordsdonotmatch": "",
"print": "",
"refresh": "",
"required": "",
"saturday": "",
"search": "Buscar...",

View File

@@ -990,6 +990,7 @@
"passwordresetvalidatesuccess_sub": "",
"passwordsdonotmatch": "",
"print": "",
"refresh": "",
"required": "",
"saturday": "",
"search": "Chercher...",