Files
Picsur/frontend/src/app/routes/settings/syspref/settings-syspref.component.ts

16 lines
506 B
TypeScript
Raw Normal View History

2022-03-29 20:39:00 +02:00
import { Component } from '@angular/core';
2022-03-24 16:14:14 +01:00
import { SysPreferenceBaseResponse } from 'picsur-shared/dist/dto/api/pref.dto';
2022-03-29 20:39:00 +02:00
import { Subject } from 'rxjs';
2022-03-19 19:30:47 +01:00
import { SysprefService as SysPrefService } from 'src/app/services/api/syspref.service';
2022-03-18 20:45:30 +01:00
@Component({
templateUrl: './settings-syspref.component.html',
})
2022-03-29 20:39:00 +02:00
export class SettingsSysprefComponent {
preferences: Subject<SysPreferenceBaseResponse[]>;
2022-03-18 20:45:30 +01:00
2022-03-29 20:39:00 +02:00
constructor(sysprefService: SysPrefService) {
this.preferences = sysprefService.live;
2022-03-19 19:30:47 +01:00
}
2022-03-18 20:45:30 +01:00
}