Revert "Release/2026 02 27 (pull request #3070)"
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { SyncOutlined } from "@ant-design/icons";
|
||||
import { Button, Card, Input, Space, Tag } from "antd";
|
||||
import { Button, Card, Input, Space, Table, Tag } from "antd";
|
||||
import queryString from "query-string";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useLocation } from "react-router-dom";
|
||||
import { alphaSort } from "../../utils/sorters";
|
||||
import ResponsiveTable from "../responsive-table/responsive-table.component";
|
||||
|
||||
export default function VendorsListComponent({ handleNewVendor, loading, handleOnRowClick, vendors, refetch }) {
|
||||
const search = queryString.parse(useLocation().search);
|
||||
@@ -86,11 +85,10 @@ export default function VendorsListComponent({ handleNewVendor, loading, handleO
|
||||
</Space>
|
||||
}
|
||||
>
|
||||
<ResponsiveTable
|
||||
<Table
|
||||
loading={loading}
|
||||
pagination={{ placement: "top" }}
|
||||
columns={columns}
|
||||
mobileColumnKeys={["name", "phone", "city"]}
|
||||
rowKey="id"
|
||||
onChange={handleTableChange}
|
||||
dataSource={filteredVendors}
|
||||
|
||||
Reference in New Issue
Block a user