From 65b90b192cc82d005d830f417acd92ea49e88b0a Mon Sep 17 00:00:00 2001 From: Teppo Kurki Date: Wed, 27 Dec 2023 21:29:28 +0200 Subject: [PATCH] add access to events for Embedded webapps --- packages/server-admin-ui/src/views/Webapps/Embedded.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server-admin-ui/src/views/Webapps/Embedded.js b/packages/server-admin-ui/src/views/Webapps/Embedded.js index b61348fbc..518019de0 100644 --- a/packages/server-admin-ui/src/views/Webapps/Embedded.js +++ b/packages/server-admin-ui/src/views/Webapps/Embedded.js @@ -51,7 +51,7 @@ class Embedded extends Component { return r }), openWebsocket: (params) => { - const knownParams = ['subscribe', 'sendCachedValues'] + const knownParams = ['subscribe', 'sendCachedValues', 'events'] const queryParam = knownParams .map((p, i) => [i, params[p]]) .filter((x) => x[1] !== undefined)