|
|
|
@@ -16,7 +16,6 @@ import { Fade, Pagination } from "@mui/material"; |
|
|
|
import FilterButton from "../../components/Button/FilterButton"; |
|
|
|
import searchImage from "../../assets/images/search.png"; |
|
|
|
import DocsFilters from "../../components/Docs/DocsFilters"; |
|
|
|
import { ADD_FILE } from "../../constants/pages"; |
|
|
|
import ConfirmDialog from "../../components/MUI/ConfirmDialog"; |
|
|
|
import FileViewer from "react-file-viewer"; |
|
|
|
import CustomModal from "../../components/UI/CustomModal"; |
|
|
|
@@ -24,7 +23,7 @@ import xIcon from "../../assets/images/x.png"; |
|
|
|
import Button from "../../components/Button/Button"; |
|
|
|
import { selectIsLoadingByActionType } from "../../store/selectors/loadingSelectors"; |
|
|
|
import { FETCH_FILES_LOADING } from "../../store/actions/files/fileActionConstants"; |
|
|
|
import { useHistory, useParams } from "react-router"; |
|
|
|
import { useParams } from "react-router"; |
|
|
|
import { PAGE_SIZE_FILES } from "../../constants/keyCodeConstants"; |
|
|
|
|
|
|
|
const FileTable = ({ trigger }) => { |
|
|
|
@@ -47,7 +46,6 @@ const FileTable = ({ trigger }) => { |
|
|
|
}); |
|
|
|
const { t } = useTranslation(); |
|
|
|
const dispatch = useDispatch(); |
|
|
|
const history = useHistory(); |
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
console.log("TAKOOOOOOOOOO", data); |
|
|
|
@@ -509,13 +507,6 @@ const FileTable = ({ trigger }) => { |
|
|
|
shape="rounded" |
|
|
|
page={page} |
|
|
|
/> |
|
|
|
|
|
|
|
<IconButton |
|
|
|
className="c-btn ads-page-btn c-btn--primary add-ad-btn filesPage" |
|
|
|
onClick={() => history.push(ADD_FILE)} |
|
|
|
> |
|
|
|
+ Fajl |
|
|
|
</IconButton> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style={{ |