Fix issue on filter reference select
This commit is contained in:
parent
975b4ab395
commit
3eab3ba4b5
@ -29,10 +29,14 @@ export function NWFSelectReferencedFilters(p: {
|
|||||||
<NWFilterItem
|
<NWFilterItem
|
||||||
key={n}
|
key={n}
|
||||||
value={entry}
|
value={entry}
|
||||||
onDelete={() => {
|
onDelete={
|
||||||
|
p.editable
|
||||||
|
? () => {
|
||||||
p.selected.splice(n, 1);
|
p.selected.splice(n, 1);
|
||||||
p.onChange?.();
|
p.onChange?.();
|
||||||
}}
|
}
|
||||||
|
: undefined
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user