Merge branch 'release/v2.5.0' of github.com:ONLYOFFICE/DocSpace-client into release/v2.5.0
This commit is contained in:
commit
9c6fc0307b
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user