Show the echo test for the webclient only

This commit is contained in:
WolverinDEV 2020-12-02 18:54:31 +01:00
parent 46d9ead8ba
commit bfeeeebb18

View file

@ -171,6 +171,7 @@ function renderToolItems() : MenuBarEntry[] {
const items: MenuBarEntry[] = [];
const currentConnectionConnected = !!server_connections.active_connection()?.connected;
if(__build.target === "web") {
items.push({
type: "normal",
label: tr("Echo Test"),
@ -178,6 +179,7 @@ function renderToolItems() : MenuBarEntry[] {
click: () => global_client_actions.fire("action_open_window", { window: "server-echo-test" }),
disabled: !currentConnectionConnected
});
}
items.push({
type: "normal",