delete dashboards
This commit is contained in:
@@ -25,6 +25,10 @@ export class DashboardService {
|
||||
saveDashboard(dashboard: Dashboard): Observable<Dashboard>{
|
||||
return this.http.put<Dashboard>('//'+window.location.hostname+':'+window.location.port+'/api/dashboards/'+dashboard.id, dashboard);
|
||||
}
|
||||
|
||||
deleteDashboard(id: string): Observable<void> {
|
||||
return this.http.delete<void>('//'+window.location.hostname+':'+window.location.port+'/api/dashboards/'+id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user