fix: restore canvas action bridge

This commit is contained in:
Peter Steinberger committed 2025-12-21 01:07:35 +01:00
1 parent 78159a9435
commit 2b2f13ca79
10 files changed
+86 -10

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ final class NodeAppModel {
}()
guard !userAction.isEmpty else { return }
guard let name = userAction["name"] as? String, !name.isEmpty else { return }
guard let name = ClawdisCanvasA2UIAction.extractActionName(userAction) else { return }
let actionId: String = {
let id = (userAction["id"] as? String)?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""
return id.isEmpty ? UUID().uuidString : id