mirror of
https://github.com/DerDavidBohl/dirigent-spring.git
synced 2026-01-08 16:16:19 -06:00
Reload after deletion
This commit is contained in:
@@ -59,6 +59,8 @@ export class ApiService {
|
||||
}
|
||||
|
||||
deleteSecret(secret: Secret): Observable<void> {
|
||||
return this.http.delete<void>(`api/v1/secrets/${secret.key}`);
|
||||
return this.http.delete<void>(`api/v1/secrets/${secret.key}`).pipe(
|
||||
tap(() => this.reloadSecrets())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user