mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-23 00:03:24 +00:00
Refresh the browser sessions list after removing a browser session
This commit is contained in:
1 parent
2277a37c59
commit
a358c7e254
1 file changed
+1
-1
@@ -81,7 +81,7 @@ const EndBrowserSessionButton: React.FC<Props> = ({ session, size }) => {
|
||||
}),
|
||||
onSuccess: (data) => {
|
||||
queryClient.invalidateQueries({ queryKey: ["sessionsOverview"] });
|
||||
queryClient.invalidateQueries({ queryKey: ["appSessionList"] });
|
||||
queryClient.invalidateQueries({ queryKey: ["browserSessionList"] });
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: ["sessionDetail", data.endBrowserSession.browserSession?.id],
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user