Dashboard

This commit is contained in:
Bastian Wagner
2025-01-02 15:55:56 +01:00
parent efbfc2eb01
commit 5c6516095b
24 changed files with 490 additions and 36 deletions

View File

@@ -43,13 +43,5 @@ export class AgSystemManagerComponent implements ICellRendererAngularComp {
height: "70vh",
disableClose: false
})
// ref.afterClosed().subscribe({
// next: n => {
// if (n) {
// this.deleteThisKey();
// }
// }
// })
}
}

View File

@@ -103,4 +103,12 @@ export class ApiService {
action: 'remove'
});
}
getStats(): Observable<{ keys: number, cylinders: number, systems: number }> {
return this.http.get<{ keys: number, cylinders: number, systems: number }>('api/user/stats');
}
getActivities(): Observable<any[]> {
return this.http.get<any[]>('api/user/activities');
}
}