Merge branch 'develop' into feature/portal-access-rights

This commit is contained in:
TimofeyBoyko 2022-09-16 11:28:24 +03:00
commit c585a6e716

View File

@ -878,8 +878,8 @@ const SectionFilterContent = ({
!hide && commonOptions.push(authorOption);
}
if (availableSort?.includes("Create")) {
const idx = availableSort.findIndex((x) => x === "Create");
if (availableSort?.includes("Created")) {
const idx = availableSort.findIndex((x) => x === "Created");
const hide = infoPanelVisible && infoPanelColumnsSize[idx] === "0px";
!hide && commonOptions.push(creationDate);