update BasicTable.js and COLUMNS.js

master
mahdi 3 years ago
parent bf6b7f464d
commit f2ed2202e8
  1. 5
      src/components/ReactTable5/BasicTable.js

@ -27,6 +27,7 @@ import {
} from "react-table"; } from "react-table";
import ButtonNewDesign from "../ButtonNewDesign"; import ButtonNewDesign from "../ButtonNewDesign";
import Button from "../Button"; import Button from "../Button";
import ViewEdit from "./ViewEdit";
export const SelectColumnFilter = ({ export const SelectColumnFilter = ({
column: { filterValue, setFilter, preFilteredRows, id, render }, column: { filterValue, setFilter, preFilteredRows, id, render },
@ -295,10 +296,8 @@ const BasicTable = ({ addTab, activeTab }) => {
<p className="text-xs mb-3 mt-5">{row.original.fileName}</p> <p className="text-xs mb-3 mt-5">{row.original.fileName}</p>
<span className="text-xs text-left text-gray-500"> <span className="text-xs text-left text-gray-500">
{row.original.fileSize} {row.original.fileSize}
{console.log("mahdi")}
{console.log(row.original)}
{console.log("mahdi")}
</span> </span>
<ViewEdit />
</div> </div>
); );
})} })}

Loading…
Cancel
Save