fix(mesh): correct rpcClient.call() usage in clear-all button
All checks were successful
Build Archipelago ISO (dev) / build-iso (push) Successful in 17m41s
All checks were successful
Build Archipelago ISO (dev) / build-iso (push) Successful in 17m41s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user