mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-04 19:25:47 +01:00
16 lines
476 B
TypeScript
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;
|
|
}
|
|
}
|