mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-15 16:05:49 +01:00
Add networkerror notify
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Component, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { AutoUnsubscribe } from 'ngx-auto-unsubscribe-decorator';
|
||||
import { SysPreferenceResponse } from 'picsur-shared/dist/dto/api/pref.dto';
|
||||
import { SysprefService as SysPrefService } from 'src/app/services/api/syspref.service';
|
||||
@@ -6,7 +6,7 @@ import { SysprefService as SysPrefService } from 'src/app/services/api/syspref.s
|
||||
@Component({
|
||||
templateUrl: './settings-syspref.component.html',
|
||||
})
|
||||
export class SettingsSysprefComponent implements OnInit, OnChanges {
|
||||
export class SettingsSysprefComponent implements OnInit {
|
||||
render = true;
|
||||
preferences: SysPreferenceResponse[] = [];
|
||||
|
||||
@@ -32,10 +32,6 @@ export class SettingsSysprefComponent implements OnInit, OnChanges {
|
||||
});
|
||||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
console.log('cahnges', changes);
|
||||
}
|
||||
|
||||
private compareFlatObjectArray(a: any[], b: any[]): boolean {
|
||||
if (a.length !== b.length) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user