feature/147-cardoverview_performance #153

Merged
niggl merged 10 commits from feature/147-cardoverview_performance into dev 2023-02-23 07:34:46 +00:00
Showing only changes of commit 8dfa19fa0f - Show all commits

View File

@ -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>