1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 19:37:28 +00:00

Fix searched dir then copy dir bug (#5727)

* fix warnings

* fix search result path error
This commit is contained in:
Michael An
2023-11-01 15:10:43 +08:00
committed by GitHub
parent 955c292ce8
commit eab8130ed8
11 changed files with 13 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Button, Modal, ModalHeader, Input, ModalBody, ModalFooter, Form, FormGroup, Label, Alert } from 'reactstrap';
import { gettext, isDocs } from '../../utils/constants';
import { gettext } from '../../utils/constants';
import { Utils } from '../../utils/utils';
const propTypes = {
@@ -141,7 +141,6 @@ class CreateFile extends React.Component {
};
render() {
const { isSdocDraft } = this.state;
const { toggleDialog } = this.props;
return (
<Modal isOpen={true} toggle={toggleDialog} onOpened={this.onAfterModelOpened}>