This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { CarOutlined, SettingOutlined, SyncOutlined } from "@ant-design/icons";
|
||||
import { Button, Card, Input, Space, Table, Typography } from "antd";
|
||||
import { Button, Card, Input, Space, Typography } from "antd";
|
||||
import axios from "axios";
|
||||
import _ from "lodash";
|
||||
import queryString from "query-string";
|
||||
@@ -20,6 +20,7 @@ import * as Sentry from "@sentry/react";
|
||||
import getPartsBasePath from "../../utils/getPartsBasePath.js";
|
||||
import { toggleDarkMode } from "../../redux/application/application.actions.js";
|
||||
import { FaMoon, FaSun } from "react-icons/fa";
|
||||
import ResponsiveTable from "../responsive-table/responsive-table.component";
|
||||
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop,
|
||||
@@ -243,7 +244,7 @@ export function SimplifiedPartsJobsListComponent({
|
||||
</Space>
|
||||
}
|
||||
>
|
||||
<Table
|
||||
<ResponsiveTable
|
||||
loading={loading || searchLoading}
|
||||
pagination={
|
||||
search?.search
|
||||
@@ -259,6 +260,7 @@ export function SimplifiedPartsJobsListComponent({
|
||||
}
|
||||
}
|
||||
columns={columns}
|
||||
mobileColumnKeys={["ro_number", "ownr_ln", "status", "vehicle", "partsstatus"]}
|
||||
rowKey="id"
|
||||
dataSource={search?.search ? openSearchResults : jobs}
|
||||
onChange={handleTableChange}
|
||||
|
||||
Reference in New Issue
Block a user