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