A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/signumsoftware/framework/commit/efbe32018a94f46a41e68199606405924ce66bc4 below:

fix isFilterActive for splitText · signumsoftware/framework@efbe320 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-2

lines changed Original file line number Diff line number Diff line change

@@ -394,8 +394,13 @@ export function FilterGroupComponent(p: FilterGroupComponentsProps) {

394 394

}

395 395 396 396

function isFilterActive(fo: FilterOptionParsed) {

397 -

return fo.pinned == null ||

398 -

fo.pinned.active == null /*Always*/ ||

397 +

if (fo.pinned == null)

398 +

return true;

399 + 400 +

if (fo.pinned.splitText && (fo.value == null || fo.value == ""))

401 +

return false;

402 + 403 +

return fo.pinned.active == null /*Always*/ ||

399 404

fo.pinned.active == "Always" ||

400 405

fo.pinned.active == "Checkbox_StartChecked" ||

401 406

fo.pinned.active == "WhenHasValue" && !(fo.value == null || fo.value == "");

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4