Skip to content

Commit

Permalink
rm unnessecary assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn authored and jacobtylerwalls committed Jan 17, 2025
1 parent 1983128 commit 2235610
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,12 @@ const val = computed({
(item) => item.uri === newVal,
);
const item = foundItem ? [foundItem] : [];
modelValue.value = item;
emit("update", item);
} else {
const foundItems = props.options?.filter((item) =>
newVal.includes(item.uri),
);
const items = foundItems ?? [];
modelValue.value = items;
emit("update", items);
}
},
Expand Down

0 comments on commit 2235610

Please sign in to comment.