Merge branch 'release/v2.5.0' of github.com:ONLYOFFICE/DocSpace-client into release/v2.5.0

This commit is contained in:
Nikita Gopienko 2024-03-07 14:33:25 +03:00
commit 9c6fc0307b
3 changed files with 0 additions and 39 deletions

View File

@ -22,7 +22,6 @@ class GroupsTableHeader extends React.Component {
sortBy: "title",
minWidth: 210,
onClick: this.onFilter,
onIconClick: this.onIconClick,
},
{
key: "Head of Group",
@ -78,18 +77,6 @@ class GroupsTableHeader extends React.Component {
navigate(`${location.pathname}?${newFilter.toUrlParams()}`);
};
onIconClick = () => {
const { filter, setIsLoading, navigate, location } = this.props;
const newFilter = filter.clone();
newFilter.sortOrder =
newFilter.sortOrder === "ascending" ? "descending" : "ascending";
setIsLoading(true);
navigate(`${location.pathname}?${newFilter.toUrlParams()}`);
};
render() {
const { columns } = this.state;
const {

View File

@ -24,7 +24,6 @@ class InsideGroupTableHeader extends React.Component {
sortBy: "AZ",
minWidth: 210,
onClick: this.onFilter,
onIconClick: this.onIconClick,
},
{
key: "Type",
@ -117,18 +116,6 @@ class InsideGroupTableHeader extends React.Component {
navigate(`${location.pathname}?${newFilter.toUrlParams()}`);
};
onIconClick = () => {
const { filter, setIsLoading, navigate, location } = this.props;
const newFilter = filter.clone();
newFilter.sortOrder =
newFilter.sortOrder === "ascending" ? "descending" : "ascending";
setIsLoading(true);
navigate(`${location.pathname}?${newFilter.toUrlParams()}`);
};
render() {
const { columns } = this.state;
const {

View File

@ -27,7 +27,6 @@ class PeopleTableHeader extends React.Component {
sortBy: "AZ",
minWidth: 210,
onClick: this.onFilter,
onIconClick: this.onIconClick,
},
{
key: "Type",
@ -132,18 +131,6 @@ class PeopleTableHeader extends React.Component {
navigate(`${location.pathname}?${newFilter.toUrlParams()}`);
};
onIconClick = () => {
const { filter, setIsLoading, navigate, location } = this.props;
const newFilter = filter.clone();
newFilter.sortOrder =
newFilter.sortOrder === "ascending" ? "descending" : "ascending";
setIsLoading(true);
navigate(`${location.pathname}?${newFilter.toUrlParams()}`);
};
render() {
const { columns } = this.state;
const {