Merged in release/2022-07-29 (pull request #551)
release/2022-07-29 Approved-by: Patrick Fic
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { useQuery } from "@apollo/client";
|
import { useQuery } from "@apollo/client";
|
||||||
import { Button, Card, Input, Modal, Space, Table } from "antd";
|
import { Button, Card, Input, Modal, Space, Table, Typography } from "antd";
|
||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
@@ -118,16 +118,20 @@ export default function ScoreboardJobsList({ scoreBoardlist }) {
|
|||||||
)}
|
)}
|
||||||
<Card
|
<Card
|
||||||
extra={
|
extra={
|
||||||
<Space wrap>
|
<Space align="middle" wrap>
|
||||||
<Button onClick={() => refetch()}>
|
<Button onClick={() => refetch()}>
|
||||||
<SyncOutlined />
|
<SyncOutlined />
|
||||||
</Button>
|
</Button>
|
||||||
|
<Typography.Title level={4}>
|
||||||
|
{t("general.labels.searchresults", { search: state.search })}
|
||||||
|
</Typography.Title>
|
||||||
<Input.Search
|
<Input.Search
|
||||||
placeholder={t("jobs.fields.ro_number")}
|
placeholder={t("jobs.fields.ro_number")}
|
||||||
|
allowClear
|
||||||
onSearch={(value) => {
|
onSearch={(value) => {
|
||||||
setState((state) => ({ ...state, search: value }));
|
setState((state) => ({ ...state, search: value }));
|
||||||
}}
|
}}
|
||||||
value={state.search}
|
//value={state.search}
|
||||||
enterButton
|
enterButton
|
||||||
/>
|
/>
|
||||||
</Space>
|
</Space>
|
||||||
|
|||||||
@@ -111,6 +111,9 @@ export const QUERY_SCOREBOARD_PAGINATED = gql`
|
|||||||
v_make_desc
|
v_make_desc
|
||||||
v_model_desc
|
v_model_desc
|
||||||
v_model_yr
|
v_model_yr
|
||||||
|
ownr_fn
|
||||||
|
ownr_ln
|
||||||
|
ownr_co_nm
|
||||||
}
|
}
|
||||||
date
|
date
|
||||||
bodyhrs
|
bodyhrs
|
||||||
|
|||||||
Reference in New Issue
Block a user