Skip to content

Commit

Permalink
chore(client): remove unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
JianJroh committed Apr 2, 2024
1 parent e684caa commit 9c98da1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/client/src/pages/components.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,9 @@ function inspectComponentInspector() {
else {
treeNodeIdLinkedList.value.forEach((item) => {
let index = item.indexOf(data.id)
if (index > -1) {
while (index >= 0) {
componentTreeCollapseMap.value[item[index]] = true
index--
}
while (index >= 0) {
componentTreeCollapseMap.value[item[index]] = true
index--
}
})
}
Expand Down

0 comments on commit 9c98da1

Please sign in to comment.