Reload after deletion

This commit is contained in:
DerDavidBohl
2025-10-03 00:33:40 +02:00
parent cc2c06851e
commit c332e7f697

View File

@@ -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())
);
}
}