Skip to content

Commit

Permalink
Enable version picker for master (angular#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored and josephperrott committed May 2, 2018
1 parent 8f1f434 commit 089b2dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/app/shared/navbar/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
[routerLink]="key">{{sections[key]}}</a>
<a mat-button class="docs-navbar-hide-small docs-button" routerLink="guides">Guides</a>
<div class="flex-spacer"></div>
<!-- TODO(tinayuangao): Uncomment this when we are ready for v6
<version-picker></version-picker>
-->
<version-picker></version-picker>
<theme-picker></theme-picker>
<a mat-button class="docs-button docs-navbar-hide-small" href="https://github.com/angular/material2"
aria-label="GitHub Repository">
Expand Down
6 changes: 3 additions & 3 deletions src/app/shared/version/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export interface VersionInfo {
// TODO(tinayuangao): Update the title with actual versions
export const docVersions: VersionInfo[] = [
{
url: 'https://material.angular.io/',
url: 'https://v5.material.angular.io/',
title: '5.2.4'
},
{
url: `http://v5.material.angular.io`,
title: '6.0.0-beta.4'
url: `http://material.angular.io`,
title: '6.0.0'
}
];

0 comments on commit 089b2dd

Please sign in to comment.