Added an echo test menu entry within the tools secion
parent
164f715171
commit
f31ff61518
|
@ -170,6 +170,14 @@ function renderToolItems() : MenuBarEntry[] {
|
||||||
const items: MenuBarEntry[] = [];
|
const items: MenuBarEntry[] = [];
|
||||||
|
|
||||||
const currentConnectionConnected = !!server_connections.active_connection()?.connected;
|
const currentConnectionConnected = !!server_connections.active_connection()?.connected;
|
||||||
|
items.push({
|
||||||
|
type: "normal",
|
||||||
|
label: tr("Echo Test"),
|
||||||
|
icon: ClientIcon.ActivateMicrophone,
|
||||||
|
click: () => global_client_actions.fire("action_open_window", { window: "server-echo-test" }),
|
||||||
|
disabled: !currentConnectionConnected
|
||||||
|
});
|
||||||
|
|
||||||
items.push({
|
items.push({
|
||||||
type: "normal",
|
type: "normal",
|
||||||
label: tr("Ban List"),
|
label: tr("Ban List"),
|
||||||
|
|
Loading…
Reference in New Issue