Fix console error on adding node via searchbox (#2317)

This commit is contained in:
Chenlei Hu
2025-01-22 13:13:26 -05:00
committed by GitHub
parent 1c9b300396
commit 8f6b594a9f

View File

@@ -60,8 +60,9 @@
<!-- FilterAndValue -->
<template v-slot:chip="{ value }">
<SearchFilterChip
v-if="Array.isArray(value) && value.length === 2"
:key="`${value[0].id}-${value[1]}`"
@remove="onRemoveFilter($event, value)"
@remove="onRemoveFilter($event, value as FilterAndValue)"
:text="value[1]"
:badge="value[0].invokeSequence.toUpperCase()"
:badge-class="value[0].invokeSequence + '-badge'"