web: elements: Table: Fix table selection clearing behavior (#13959)

web: elements: Table: Fix table selection clearing and modal closing behavior

Closes https://github.com/goauthentik/authentik/issues/13831
This commit is contained in:
Dominic R
2025-04-10 11:03:02 -04:00
committed by GitHub
parent e5e53f034e
commit 8d0b362c9c
2 changed files with 7 additions and 5 deletions

View File

@@ -167,13 +167,13 @@ export class DeleteBulkForm<T> extends ModalButton {
}),
);
this.onSuccess();
this.open = false;
this.dispatchEvent(
new CustomEvent(EVENT_REFRESH, {
bubbles: true,
composed: true,
}),
);
this.open = false;
} catch (e) {
this.onError(e as Error);
throw e;