diff --git a/frontend/src/draft-review.js b/frontend/src/draft-review.js
index 6ba3919f00..4595a23d51 100644
--- a/frontend/src/draft-review.js
+++ b/frontend/src/draft-review.js
@@ -23,6 +23,7 @@ import { Nav, NavItem, NavLink, TabContent, TabPane } from 'reactstrap';
import classnames from 'classnames';
import HistoryList from './pages/review/history-list';
import { Value, Document, Block } from 'slate';
+import ModalPortal from './components/modal-portal';
import './assets/css/fa-solid.css';
import './assets/css/fa-regular.css';
@@ -58,6 +59,7 @@ class DraftReview extends React.Component {
isShowCommentDialog: false,
activeItem: null,
originRepoName: '',
+ showDraftReviewDialog: false,
};
this.quote = '';
this.newIndex = null;
@@ -313,7 +315,8 @@ class DraftReview extends React.Component {
this.listReviewers();
}
this.setState({
- showReviewerDialog: !this.state.showReviewerDialog
+ showReviewerDialog: !this.state.showReviewerDialog,
+ showDraftReviewDialog: !this.state.showDraftReviewDialog,
});
}
@@ -920,22 +923,30 @@ class DraftReview extends React.Component {
- { this.state.showReviewerDialog &&
-
+ {this.state.showDraftReviewDialog &&
+
+ {this.state.showReviewerDialog &&
+
+
+
+ }
+
}
{this.state.isShowCommentDialog &&
-
+
+
+
}
);