Web:Files:Catalog: fixed path parts for settings page
This commit is contained in:
parent
7481f3a2d0
commit
830c0f4208
@ -10,7 +10,7 @@ import Loaders from '@appserver/common/components/Loaders';
|
||||
const Items = ({ data, showText, pathParts, selectedTreeNode, onClick, onBadgeClick }) => {
|
||||
const isActive = (item) => {
|
||||
if (selectedTreeNode.length > 0) {
|
||||
if (pathParts.includes(item.id)) return true;
|
||||
if (pathParts && pathParts.includes(item.id)) return true;
|
||||
if (selectedTreeNode[0] === '@my' && item.key === '0-0') return true;
|
||||
return `${item.id}` === selectedTreeNode[0];
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit b1063eae56d183b5c0b6eb887115c378f3941ebe
|
||||
Subproject commit 8177bad15d567d997a79478a65d32662a6f773b1
|
@ -38,7 +38,7 @@ const Home = ({
|
||||
}) => {
|
||||
const { location } = history;
|
||||
const { pathname } = location;
|
||||
console.log('People Home render');
|
||||
// console.log('People Home render');
|
||||
|
||||
useEffect(() => {
|
||||
if (pathname.indexOf('/people/filter') > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user