diff --git a/Tombolo/client-reactjs/src/components/layout/LeftNav.js b/Tombolo/client-reactjs/src/components/layout/LeftNav.js
index 06edb12d..7b4cf9d8 100644
--- a/Tombolo/client-reactjs/src/components/layout/LeftNav.js
+++ b/Tombolo/client-reactjs/src/components/layout/LeftNav.js
@@ -17,7 +17,6 @@ import {
} from '@ant-design/icons';
import { hasEditPermission } from '../common/AuthUtil.js';
-import Text from '../common/Text';
function getItem(label, key, icon, children, type, disabled) {
return {
@@ -34,27 +33,29 @@ const { Sider } = Layout;
class LeftNav extends Component {
state = {
- current: '1',
+ current: '0',
};
- componentDidUpdate(prevProps) {
- const applicationId = this.props?.applicationId;
- const prevApplicationId = prevProps?.applicationId;
- if (applicationId !== prevApplicationId) {
- // if current app and prev app is not same we are redirected to /appid/asset page, so we will reset menu highlight
- this.setState({ current: '1' });
- }
- }
-
componentDidMount() {
const options = {
+ assets: '1',
dataflow: '2',
dataflowinstances: '3',
- actions: '4',
- clusters: '5',
- github: '6',
- consumers: '7',
- applications: '8',
+ fileMonitoring: '4a',
+ directoryMonitoring: '4b',
+ clustermonitoring: '4c',
+ jobmonitoring: '4d',
+ superfileMonitoring: '4e',
+ orbitMonitoring: '4f',
+ notifications: '5a',
+ clusterUsage: '5b',
+ Orbit: '5c',
+ clusters: '6',
+ github: '8',
+ consumers: '9',
+ applications: '10',
+ integrations: '11',
+ msTeams: '12a',
};
// on init we check pathname if it contains options key in name, if it does => highlight that menu item
@@ -96,7 +97,7 @@ class LeftNav extends Component {
else return '';
};
- const items = [
+ const workflowItems = [
getItem(
<>
{disabled || clusterDisabled ? (
@@ -157,6 +158,9 @@ class LeftNav extends Component {
null,
clusterDisabled
),
+ ];
+
+ const monitoringItems = [
getItem(
<>