From 298437bc3902829e27c478271338accf46254d01 Mon Sep 17 00:00:00 2001 From: bat Date: Mon, 1 May 2023 06:58:05 +0000 Subject: [PATCH] support put and get messages --- connections.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connections.js b/connections.js index f1f0e98..272cb18 100644 --- a/connections.js +++ b/connections.js @@ -95,7 +95,7 @@ export class Connections extends HTMLElement { } else if (path === this.path) { edit.error = 'samePage' return - } else if (path in this.data) { + } else if (this.data[path] ?? true !== true) { edit.error = 'alreadyConnected' return }