Skip to content

Commit

Permalink
feat: update code
Browse files Browse the repository at this point in the history
  • Loading branch information
杨国璇 authored and 杨国璇 committed Jun 18, 2024
1 parent 272b890 commit e38999d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { gettext } from '../../../utils/constants';
import Switch from '../../common/switch';
import metadataManagerAPI from '../api';
import { Utils } from '../../../utils/utils';
import toaster from '../../toast';

import './index.css';
import toaster from '../../toast';

const MetadataManagementStatusDialog = ({ value: oldValue, repoID, toggle, submit }) => {
const [value, setValue] = useState(oldValue);
Expand Down
6 changes: 0 additions & 6 deletions frontend/src/components/tree-view/tree-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,6 @@ class TreeView extends React.Component {
onNodeDragLeave={this.onNodeDragLeave}
handleContextClick={this.handleContextClick}
/>
{/* {window.app.pageOptions.enableMetadataManagement && <MetadataManage
repoID={this.props.repoID}
/>}
{window.app.pageOptions.enableMetadataManagement && <MetadataManageView
repoID={this.props.repoID}
/>} */}
<ContextMenu
id={'tree-node-contextmenu'}
onMenuItemClick={this.onMenuItemClick}
Expand Down

0 comments on commit e38999d

Please sign in to comment.