updates
This commit is contained in:
parent
f602587522
commit
40c4c5ef68
2 changed files with 11 additions and 0 deletions
|
|
@ -21,5 +21,9 @@ export const routes: Routes = [
|
|||
{
|
||||
path: 'onboarding',
|
||||
loadComponent: () => import('./onboarding/onboarding.component').then(m => m.OnboardingComponent)
|
||||
},
|
||||
{
|
||||
path: 'jellyfin',
|
||||
loadComponent: () => import('./jellyfin/jellyfin.component').then(m => m.JellyfinComponent)
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -66,6 +66,9 @@ interface TrayStatus {
|
|||
</section>
|
||||
|
||||
<footer class="tray-footer">
|
||||
<button class="btn btn--secondary btn--sm" (click)="openJellyfin()">
|
||||
Jellyfin
|
||||
</button>
|
||||
<button class="btn btn--secondary btn--sm" (click)="toggleRunning()">
|
||||
{{ status.running ? 'Pause' : 'Start' }}
|
||||
</button>
|
||||
|
|
@ -293,4 +296,8 @@ export class TrayComponent implements OnInit, OnDestroy {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
openJellyfin() {
|
||||
window.location.assign('/jellyfin');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue