Dashboard
This commit is contained in:
@@ -43,13 +43,5 @@ export class AgSystemManagerComponent implements ICellRendererAngularComp {
|
||||
height: "70vh",
|
||||
disableClose: false
|
||||
})
|
||||
|
||||
// ref.afterClosed().subscribe({
|
||||
// next: n => {
|
||||
// if (n) {
|
||||
// this.deleteThisKey();
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user