Files
Picsur/frontend/src/app/routes/settings/syspref/settings-syspref.component.ts
2022-04-13 21:14:24 +02:00

16 lines
476 B
TypeScript

import { Component } from '@angular/core';
import { DecodedPref } from 'picsur-shared/dist/dto/preferences.dto';
import { Observable } from 'rxjs';
import { SysPrefService } from 'src/app/services/api/syspref.service';
@Component({
templateUrl: './settings-syspref.component.html',
})
export class SettingsSysprefComponent {
preferences: Observable<DecodedPref[]>;
constructor(public sysPrefService: SysPrefService) {
this.preferences = sysPrefService.live;
}
}