Added an echo test menu entry within the tools secion

canary
WolverinDEV 2020-11-28 15:34:28 +01:00
parent 164f715171
commit f31ff61518
1 changed files with 8 additions and 0 deletions

View File

@ -170,6 +170,14 @@ function renderToolItems() : MenuBarEntry[] {
const items: MenuBarEntry[] = [];
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({
type: "normal",
label: tr("Ban List"),