Skip to content
Commits on Source (2)
......@@ -34,42 +34,42 @@
<a
class="m-proChannelTopbar__navItem"
[routerLink]="['/pro', channel.username, 'videos']"
[queryParams]="{algorithm: 'pro'}"
[queryParams]="{algorithm: 'top'}"
routerLinkActive="active"
i18n
>Videos</a>
<a
class="m-proChannelTopbar__navItem"
[routerLink]="['/pro', channel.username, 'images']"
[queryParams]="{algorithm: 'pro'}"
[queryParams]="{algorithm: 'top'}"
routerLinkActive="active"
i18n
>Images</a>
<a
class="m-proChannelTopbar__navItem"
[routerLink]="['/pro', channel.username, 'articles']"
[queryParams]="{algorithm: 'pro'}"
[queryParams]="{algorithm: 'top'}"
routerLinkActive="active"
i18n
>Articles</a>
<a
class="m-proChannelTopbar__navItem"
[routerLink]="['/pro', channel.username, 'groups']"
[queryParams]="{algorithm: 'pro'}"
[queryParams]="{algorithm: 'top'}"
routerLinkActive="active"
i18n
>Groups</a>
<a
class="m-proChannelTopbar__navItem"
[routerLink]="['/pro', channel.username, 'donate']"
[queryParams]="{algorithm: 'pro'}"
[queryParams]="{algorithm: 'top'}"
routerLinkActive="active"
i18n
>Donate</a>
<a
class="m-proChannelTopbar__navItem"
[routerLink]="['/pro', channel.username, 'signup']"
[queryParams]="{algorithm: 'pro'}"
[queryParams]="{algorithm: 'top'}"
routerLinkActive="active"
*ngIf="!currentUser"
i18n
......
......@@ -37,7 +37,7 @@ const routes: Routes = [
children: [
{
path: '',
redirectTo: 'articles/top',
redirectTo: 'articles',
pathMatch: 'full'
},
{
......