mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Unified messaging: Avoid using window.open
This commit is contained in:
parent
c917a5e639
commit
b4080ae638
@ -364,9 +364,9 @@ onBeforeUnmount(() => {
|
|||||||
|
|
||||||
function info() {
|
function info() {
|
||||||
if (group) {
|
if (group) {
|
||||||
window.open(`/my/groups/${group.id}`);
|
window.location.href = `/my/groups/${group.id}`;
|
||||||
} else if (user) {
|
} else if (user) {
|
||||||
window.open(`/@${user.id}`);
|
window.location.href = `/@${user.id}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user