|
|
|
@@ -1,6 +1,5 @@ |
|
|
|
import React, { useState } from "react"; |
|
|
|
import IconButton from "../../components/IconButton/IconButton"; |
|
|
|
import userPageBtnIcon from "../../assets/images/userPageBtnIcon.png"; |
|
|
|
import planeVector from "../../assets/images/planeVector.png"; |
|
|
|
import lock from "../../assets/images/lock.png"; |
|
|
|
// import filters from "../../assets/images/filters.png"; |
|
|
|
@@ -25,6 +24,7 @@ import { Link } from "react-router-dom"; |
|
|
|
import { forgetPassword } from "../../store/actions/login/loginActions"; |
|
|
|
import { useTranslation } from "react-i18next"; |
|
|
|
import ConfirmDialog from "../../components/MUI/ConfirmDialog"; |
|
|
|
import EditButton from "../../components/Button/EditButton"; |
|
|
|
|
|
|
|
const UsersPage = () => { |
|
|
|
const theme = useTheme(); |
|
|
|
@@ -166,24 +166,11 @@ const UsersPage = () => { |
|
|
|
<h1 className="page-heading">{t("users.management")}</h1> |
|
|
|
<div className="flex-center"> |
|
|
|
{/* <button></button> */} |
|
|
|
<IconButton |
|
|
|
className={`${ |
|
|
|
editEnable && "enabledEdit" |
|
|
|
} c-btn--primary-outlined editEnableBtn c-btn userPageBtn`} |
|
|
|
onClick={() => { |
|
|
|
<EditButton |
|
|
|
onEnableEdit={() => { |
|
|
|
setEdit((s) => !s); |
|
|
|
}} |
|
|
|
> |
|
|
|
{!matches && "Režim uređivanja"} |
|
|
|
<img |
|
|
|
style={{ |
|
|
|
position: "relative", |
|
|
|
top: -0.25, |
|
|
|
paddingLeft: matches ? "0px" : "10px", |
|
|
|
}} |
|
|
|
src={userPageBtnIcon} |
|
|
|
/> |
|
|
|
</IconButton> |
|
|
|
/> |
|
|
|
<IconButton |
|
|
|
className={"c-btn--primary c-btn inviteBtn"} |
|
|
|
onClick={() => { |