From 6007ce324c010825e6f5e2e4cbd66780fa90452d Mon Sep 17 00:00:00 2001 From: Mukul Aggarwal <58032319+mukul-a@users.noreply.github.com> Date: Mon, 5 May 2025 14:57:18 -0400 Subject: [PATCH] Updated template refs used with `useTemplateRef` Updated template refs used with `useTemplateRef` to not match its reference variable name, as a workaround to avoid the vue warning ("Set operation on key "value" failed: target is readonly") Fix references to nodeElement in TreeViewNode tests Bump version to 7.0.1 --- package.json | 2 +- src/components/TreeView.vue | 4 +-- src/components/TreeViewNode.spec.ts | 40 ++++++++++++++--------------- src/components/TreeViewNode.vue | 4 +-- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 4137d59..8b3c52f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@grapoza/vue-tree", - "version": "7.0.0", + "version": "7.0.1", "description": "Tree components for Vue 3", "author": "Gregg Rapoza ", "license": "MIT", diff --git a/src/components/TreeView.vue b/src/components/TreeView.vue index 1a7a154..4393ff3 100644 --- a/src/components/TreeView.vue +++ b/src/components/TreeView.vue @@ -1,5 +1,5 @@