Unified messaging: Avoid using window.open

This commit is contained in:
Crimekillz 2024-04-29 19:06:04 +02:00
parent c917a5e639
commit b4080ae638

View File

@ -364,9 +364,9 @@ onBeforeUnmount(() => {
function info() {
if (group) {
window.open(`/my/groups/${group.id}`);
window.location.href = `/my/groups/${group.id}`;
} else if (user) {
window.open(`/@${user.id}`);
window.location.href = `/@${user.id}`;
}
}