Skip to content

Commit

Permalink
fix navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Geertvdc committed Oct 14, 2019
1 parent 0d9d057 commit 871ccaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/xpirit-beerxchange/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes,{ useHash: true })],
exports: [RouterModule]
})
export class AppRoutingModule { }
6 changes: 3 additions & 3 deletions frontend/xpirit-beerxchange/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ <h3 mat-subheader>Beer</h3>
<a mat-list-item href="/">
<h3 matLine>Home</h3>
</a>
<a mat-list-item href="/add">
<a mat-list-item href="/#add">
<h3 matLine>Add / Switch Beer</h3>
</a>
<a mat-list-item href="/take">
<a mat-list-item href="/#take">
<h3 matLine>Take Beer</h3>
</a>
<a mat-list-item href="/transfer">
<a mat-list-item href="/#transfer">
<h3 matLine>Transfer Credits</h3>
</a>
</mat-list>
Expand Down

0 comments on commit 871ccaf

Please sign in to comment.