Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Merge pull request #71 from minorcong/master
Browse files Browse the repository at this point in the history
resolve #68, #66
  • Loading branch information
minorcong authored May 13, 2019
2 parents 37c05d2 + 5de4e50 commit 2321498
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
click==6.7 # don't change the order, latest click lib has a critical bug
requests==2.12.4 # don't change the order, latest requests lib has a critical bug
Flask-SQLAlchemy>=2.3.2
Flask-RESTful>=0.3.6
Expand Down
5 changes: 4 additions & 1 deletion web/src/index/component/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,11 @@ export default class Sidebar extends Component {
}
}
let firstDataName = list[0].name;
let nextDataName = list[index + 1].name;
let nextDataName = null;
let nextUrl = '';
if (index < list.length - 1){
nextDataName = list[index + 1].name;
}
if (nextDataName) {
nextUrl = '/home/' + nextDataName;
}
Expand Down

0 comments on commit 2321498

Please sign in to comment.