mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
FE patchdb, mocks, and most endpoints
This commit is contained in:
17
web/projects/start-tunnel/src/app/app.ts
Normal file
17
web/projects/start-tunnel/src/app/app.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { TuiRoot } from '@taiga-ui/core'
|
||||
import { Component, inject } from '@angular/core'
|
||||
import { RouterOutlet } from '@angular/router'
|
||||
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'
|
||||
import { PatchService } from './services/patch.service'
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet, TuiRoot],
|
||||
templateUrl: './app.html',
|
||||
styleUrl: './app.scss',
|
||||
})
|
||||
export class App {
|
||||
readonly subscription = inject(PatchService)
|
||||
.pipe(takeUntilDestroyed())
|
||||
.subscribe()
|
||||
}
|
||||
Reference in New Issue
Block a user