Skip to content

Commit

Permalink
Default repo should be published, not Published. (#195)
Browse files Browse the repository at this point in the history
* Default repo should be published, not Published.

* set selectedRepo as base path
  • Loading branch information
newswangerd authored Sep 16, 2020
1 parent f9487a1 commit c5e1c3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loaders/standalone/standalone-loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class App extends React.Component<RouteComponentProps, IState> {
this.state = {
user: null,
selectExpanded: false,
selectedRepo: 'Published',
selectedRepo: 'published',
};
}

Expand Down Expand Up @@ -144,7 +144,7 @@ class App extends React.Component<RouteComponentProps, IState> {
const originalRepo = this.state.selectedRepo;
this.setState(
{
selectedRepo: value.toString(),
selectedRepo: this.getRepoBasePath(value.toString()),
selectExpanded: false,
},
() => {
Expand Down

0 comments on commit c5e1c3f

Please sign in to comment.