Fix issue on filter reference select

This commit is contained in:
Pierre HUBERT 2024-01-04 15:33:35 +01:00
parent 975b4ab395
commit 3eab3ba4b5

View File

@ -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
}
/> />
))} ))}