mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 02:00:46 +08:00
Open a fresh WebCRT tab from configuration export page.
Avoid focusing the existing webcrt module window so config browsing is not disrupted. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
68883d1a84
commit
7effa7b2b3
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import {
|
|||
import { queryKeys } from "../../constants/queryKeys";
|
||||
import { useI18n } from "../../i18n";
|
||||
import { useToast } from "../../hooks/useToast";
|
||||
import { openOrFocusModule } from "../../utils/moduleWindows";
|
||||
import { openNewModuleWindow } from "../../utils/moduleWindows";
|
||||
import { pageCount } from "../../utils/display";
|
||||
import { formatSystemTime } from "../../utils/time";
|
||||
|
||||
|
|
@ -169,7 +169,7 @@ export function NetworkConfigsPage() {
|
|||
row.source === "ume"
|
||||
? `/webcrt?ne_id=${encodeURIComponent(row.target_id)}&source=ume`
|
||||
: `/webcrt?ne_id=${encodeURIComponent(row.target_id)}`;
|
||||
openOrFocusModule({ moduleId: "webcrt", path });
|
||||
openNewModuleWindow({ moduleId: "webcrt", path });
|
||||
}}
|
||||
>
|
||||
WebCRT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue