fix: pwa and external interop
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
</main>
|
</main>
|
||||||
<nav>
|
<nav>
|
||||||
<ul ngbNav [activeId]="route.fragment | async" class="nav-tabs custom-navbar bg-body-secondary">
|
<ul ngbNav [activeId]="route.fragment | async" class="nav-tabs custom-navbar bg-body-secondary">
|
||||||
<li ngbNavItem="/edit" class="custom-navitem"><a ngbNavLink routerLink="/edit" routerLinkActive="active"><i class="bi bi-pencil-square"></i>{{ data.getPlayers().length }}</a></li>
|
<li ngbNavItem="" class="custom-navitem"><a ngbNavLink routerLink="" routerLinkActive="active"><i class="bi bi-pencil-square"></i>{{ data.getPlayers().length }}</a></li>
|
||||||
<li ngbNavItem="/basic" class="custom-navitem"><a ngbNavLink routerLink="/basic" routerLinkActive="active"><i class="bi bi-shuffle"></i></a></li>
|
<li ngbNavItem="/basic.t" class="custom-navitem"><a ngbNavLink routerLink="/basic.t" routerLinkActive="active"><i class="bi bi-shuffle"></i></a></li>
|
||||||
<li ngbNavItem="/rotations" class="custom-navitem"><a ngbNavLink routerLink="/rotations" routerLinkActive="active"><i class="bi bi-arrow-repeat"></i></a></li>
|
<li ngbNavItem="/rotations.t" class="custom-navitem"><a ngbNavLink routerLink="/rotations.t" routerLinkActive="active"><i class="bi bi-arrow-repeat"></i></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
@@ -2,16 +2,14 @@ import { Routes } from '@angular/router';
|
|||||||
import { ScreenBasicComponent } from './screen-basic/screen-basic.component';
|
import { ScreenBasicComponent } from './screen-basic/screen-basic.component';
|
||||||
import { ScreenEditComponent } from './screen-edit/screen-edit.component';
|
import { ScreenEditComponent } from './screen-edit/screen-edit.component';
|
||||||
import { ScreenRotationsComponent } from './screen-rotations/screen-rotations.component';
|
import { ScreenRotationsComponent } from './screen-rotations/screen-rotations.component';
|
||||||
import { AppComponent } from './app.component';
|
|
||||||
|
|
||||||
export const routes: Routes = [
|
export const routes: Routes = [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
children: [
|
children: [
|
||||||
{ path: '', redirectTo: 'edit', pathMatch: 'full' },
|
{ path: '', component: ScreenEditComponent },
|
||||||
{ path: 'edit', component: ScreenEditComponent },
|
{ path: 'basic.t', component: ScreenBasicComponent },
|
||||||
{ path: 'basic', component: ScreenBasicComponent },
|
{ path: 'rotations.t', component: ScreenRotationsComponent }
|
||||||
{ path: 'rotations', component: ScreenRotationsComponent }
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user