Skip to content

Commit

Permalink
resolve baidu#68, baidu#66
Browse files Browse the repository at this point in the history
  • Loading branch information
minorcong committed May 13, 2019
1 parent 7ed8c36 commit 5de4e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/index/component/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ export default class Sidebar extends Component {
let nextDataName = null;
let nextUrl = '';
if (index < list.length - 1){
nextDataName = list[index + 1].name;
nextDataName = list[index + 1].name;
}
if (nextDataName) {
nextUrl = '/home/' + nextDataName;
nextUrl = '/home/' + nextDataName;
}
else {
if (firstDataName) {
Expand Down

0 comments on commit 5de4e50

Please sign in to comment.