web/user: enable sentry

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-22 22:35:52 +02:00
parent 72b375023d
commit 50aa87d141

View file

@ -17,6 +17,7 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
import { CurrentTenant, EventsApi } from "@goauthentik/api";
import { DEFAULT_CONFIG, tenant } from "../api/Config";
import { configureSentry } from "../api/Sentry";
import { me } from "../api/Users";
import { WebsocketClient } from "../common/ws";
import {
@ -99,6 +100,7 @@ export class UserInterface extends LitElement {
this.firstUpdated();
});
tenant().then((tenant) => (this.tenant = tenant));
configureSentry(true);
}
firstUpdated(): void {