From dbafa12596abae0d7ed0546ba6da7f75463cdbf8 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sat, 18 Apr 2026 12:00:32 -0400 Subject: [PATCH] fix(mesh): correct rpcClient.call() usage in clear-all button Co-Authored-By: Claude Opus 4.6 (1M context) --- neode-ui/src/views/Mesh.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neode-ui/src/views/Mesh.vue b/neode-ui/src/views/Mesh.vue index b121bfc9..275ca97c 100644 --- a/neode-ui/src/views/Mesh.vue +++ b/neode-ui/src/views/Mesh.vue @@ -232,9 +232,9 @@ async function refreshOutboxCount() { async function clearAllMesh() { if (!window.confirm('Clear all mesh peers, messages, and chat history? This cannot be undone.')) return try { - await rpcClient('mesh.clear-all') + await rpcClient.call({ method: 'mesh.clear-all' }) await mesh.refreshAll() - selectedPeer.value = null + activeChatPeer.value = null } catch (e) { console.error('Failed to clear mesh:', e) }