perf(ui): only build WS payload if connection is opened
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 20 Nov 2023 20:00:14 +0000 (21:00 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 20 Nov 2023 20:00:14 +0000 (21:00 +0100)
commit3133b91cd6761645ddeabac18e6db8d34a10356e
treef53c14d7b04c63454bd69d864ddc7f51d45e5167
parentbc0f4d8f4973f36baa3f468848fe4d7af25c9a9c
perf(ui): only build WS payload if connection is opened

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/src/composables/UIClient.ts