Skip to content

Commit

Permalink
Fix route new section
Browse files Browse the repository at this point in the history
  • Loading branch information
maytinhdibo committed Oct 16, 2019
1 parent 6f7c3e1 commit 1f5423b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/page/app/DashBoard.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ class DashBoard extends React.Component {
main: NewSection
},
{
path: "/dashboard/chapter/:id/newsection",
path: "/dashboard/chapters/:id/newsection",
sidebar: () => (
<Breadcrumb
data={[
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/page/app/chapters/Chapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Chapter extends React.Component {
<div className="tool-dropdown">
<div className="content">
<ul class="qc-dropdown-ul">
<Link to={`/dashboard/chapter/${this.props.match.params.id}/newsection`}>
<Link to={`/dashboard/chapters/${this.props.match.params.id}/newsection`}>
<li>
<span className="icon">
<FontAwesomeIcon icon={faPlus} />
Expand Down

0 comments on commit 1f5423b

Please sign in to comment.