Update filter editor text to better support automation branching

This commit is contained in:
Andrew Kingston 2024-10-25 11:31:04 +01:00
parent 7dd245d47d
commit a46acdabc2
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,10 @@
schemaFields = [...schemaFields, { name: "_id", type: "string" }]
}
}
$: prefix =
builderType === "filter"
? "Show data which matches"
: "Run branch when matching"
// We still may need to migrate this even though the backend does it automatically now
// for query definitions. This is because we might be editing saved filter definitions
@ -286,7 +290,7 @@
{#if editableFilters?.groups?.length}
<div class="global-filter-header">
<span>Show data which matches</span>
<span>{prefix}</span>
<span class="operator-picker">
<Select
value={editableFilters?.logicalOperator}