Skip to content

Commit

Permalink
#61 fix sidebar and Sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
emekauja committed Nov 15, 2022
1 parent 8b55b3f commit 91a8365
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 391 deletions.
6 changes: 3 additions & 3 deletions src/components/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import MetaDiagram, {
} from '@metacell/meta-diagram';
import CustomLinkWidget from './views/projections/CustomLinkWidget';
import { generateMetaGraph } from '../model/utils';
import { sideBarNodes } from './views/sidebar/nodes';
import { Sidebar } from './views/sidebar/Sidebar';
import { leftSideBarNodes } from './views/leftSidebar/nodes';
import { Sidebar } from './views/rightSidebar/Sidebar';

const mockModel = require('../resources/model').mockModel;

Expand Down Expand Up @@ -121,7 +121,7 @@ class Main extends React.Component {
metaLinks={this.metaGraph.getLinks()}
metaNodes={this.metaGraph.getNodes()}
sidebarProps={{
sidebarNodes: sideBarNodes,
sidebarNodes: leftSideBarNodes,
selectedBarNode: 'targetMechanism',
}}
metaTheme={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import vars from '../../assets/styles/variables';
import { CustomBreadcrumbsWithMenu } from './Breadcrumbs';
import Dialog from '@mui/material/Dialog';
import UndoIcon from '@mui/icons-material/Undo';
import { COMPOSITION } from '../views/sidebar/TreeView/InstanceTreeView';
import { COMPOSITION } from '../views/rightSidebar/TreeView/InstanceTreeView';

const {
textWhite,
Expand Down
Loading

0 comments on commit 91a8365

Please sign in to comment.