parent
0feee0ae2f
commit
8dfa19fa0f
@ -9,15 +9,12 @@
|
|||||||
on:input={() => {
|
on:input={() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (`${selected}`.trim()) {
|
if (`${selected}`.trim()) {
|
||||||
const value = selected;
|
if(selected==="all"){
|
||||||
handler.filter(value, (card) => {
|
handler.filter('', 'enabled')
|
||||||
if (
|
}
|
||||||
card.enabled === value ||
|
else{
|
||||||
value === "all"
|
handler.filter(selected, 'enabled')
|
||||||
)
|
}
|
||||||
return card;
|
|
||||||
return "";
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}, 50);
|
}, 50);
|
||||||
}}
|
}}
|
||||||
@ -26,7 +23,7 @@
|
|||||||
id="statusfilter"
|
id="statusfilter"
|
||||||
>
|
>
|
||||||
<option value="all">Alle</option>
|
<option value="all">Alle</option>
|
||||||
<option value={true}>{$_("enabled")}</option>
|
<option value="true">{$_("enabled")}</option>
|
||||||
<option value={false}>{$_("disabled")}</option>
|
<option value="false">{$_("disabled")}</option>
|
||||||
</select>
|
</select>
|
||||||
</th>
|
</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user