Enable filters in iterators (#15017)
Filters should not cut the whole workflow. These should only stop the branch. This PR: - adds a new skipped status - when a filter stops, it still goes to the next step - the next step will execute if there is at least a successful step - if only skipped step, it will be skipped as well It allows to use filters in iterators. https://github.com/user-attachments/assets/1cfca052-55c0-4ce5-9eb8-63736618d082
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import {
|
||||
isBoolean,
|
||||
isNonEmptyString,
|
||||
isNull,
|
||||
isNumber,
|
||||
isString,
|
||||
} from '@sniptt/guards';
|
||||
@@ -16,6 +15,7 @@ import { JsonObjectNode } from '@ui/json-visualizer/components/JsonObjectNode';
|
||||
import { JsonValueNode } from '@ui/json-visualizer/components/JsonValueNode';
|
||||
import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';
|
||||
import { isArray } from '@ui/json-visualizer/utils/isArray';
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
import { type JsonValue } from 'type-fest';
|
||||
|
||||
export const JsonNode = ({
|
||||
@@ -33,7 +33,7 @@ export const JsonNode = ({
|
||||
|
||||
const highlighting = getNodeHighlighting?.(keyPath);
|
||||
|
||||
if (isNull(value)) {
|
||||
if (!isDefined(value)) {
|
||||
return (
|
||||
<JsonValueNode
|
||||
label={label}
|
||||
|
||||
Reference in New Issue
Block a user