runeforge 0.0.61 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -137,8 +137,13 @@ export class FilterState {
|
|
|
137
137
|
if (text && !cell.toLowerCase().includes(text.toLowerCase()))
|
|
138
138
|
return false;
|
|
139
139
|
const selected = this.values.get(col.attribute);
|
|
140
|
-
if (selected && selected.size > 0
|
|
141
|
-
|
|
140
|
+
if (selected && selected.size > 0) {
|
|
141
|
+
const key = col.type === 'boolean'
|
|
142
|
+
? String(!!row[col.attribute])
|
|
143
|
+
: cell;
|
|
144
|
+
if (!selected.has(key))
|
|
145
|
+
return false;
|
|
146
|
+
}
|
|
142
147
|
return true;
|
|
143
148
|
});
|
|
144
149
|
}
|