Notifications
This commit is contained in:
@@ -74,7 +74,16 @@ export class AllUsersComponent {
|
||||
this.deleteUser(event.data.id);
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
headerName: 'Benachrichtigungen',
|
||||
children: [
|
||||
{ columnGroupShow: "closed", width: 180 , cellRenderer: 'agCheckboxCellRenderer', valueGetter: (data: any) => { return Object.values(data.data.settings).filter(v => typeof v == 'boolean').some((x: any) => x)}, type: 'boolean' },
|
||||
{ field: 'settings.sendSystemAccessMails', headerName: 'Schlüssesystemzugriff', editable: true, columnGroupShow: "open" },
|
||||
{ field: 'settings.sendSystemUpdateMails', headerName: 'Schließsystemupdates', editable: true, columnGroupShow: "open" },
|
||||
{ field: 'settings.sendUserDisabledMails', headerName: 'User deaktiviert', editable: true, columnGroupShow: "open" }
|
||||
]
|
||||
},
|
||||
],
|
||||
loading: true,
|
||||
overlayLoadingTemplate: 'Lade Daten...'
|
||||
|
||||
@@ -62,7 +62,6 @@ export class CreateKeyComponent {
|
||||
}
|
||||
|
||||
save() {
|
||||
console.log(this.createForm.value)
|
||||
|
||||
this.api.createKey(this.createForm.value as any)
|
||||
.pipe(
|
||||
@@ -93,7 +92,6 @@ export class CreateKeyComponent {
|
||||
next: c => {
|
||||
if (c) {
|
||||
this.createForm.controls.cylinder.patchValue(c);
|
||||
console.log(c);
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -195,7 +195,6 @@ export class KeysComponent {
|
||||
disableClose: true
|
||||
}).afterClosed().subscribe({
|
||||
next: changed => {
|
||||
console.log(changed)
|
||||
if (changed) {
|
||||
this.loadKeys();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user