diff --git a/packages/editor-ui/src/components/FilterConditions/Condition.vue b/packages/editor-ui/src/components/FilterConditions/Condition.vue index ef39c817b3..ad88341ed5 100644 --- a/packages/editor-ui/src/components/FilterConditions/Condition.vue +++ b/packages/editor-ui/src/components/FilterConditions/Condition.vue @@ -288,7 +288,6 @@ const onBlur = (): void => { display: flex; align-items: flex-end; gap: var(--spacing-4xs); - padding-left: var(--spacing-l); &.hasIssues { --input-border-color: var(--color-danger); @@ -354,7 +353,6 @@ const onBlur = (): void => { } .remove { - --button-font-color: var(--color-text-light); position: absolute; left: 0; top: var(--spacing-l); diff --git a/packages/editor-ui/src/components/FilterConditions/FilterConditions.vue b/packages/editor-ui/src/components/FilterConditions/FilterConditions.vue index 7c6acbbaf5..718f6f9a36 100644 --- a/packages/editor-ui/src/components/FilterConditions/FilterConditions.vue +++ b/packages/editor-ui/src/components/FilterConditions/FilterConditions.vue @@ -61,6 +61,8 @@ const maxConditions = computed( () => props.parameter.typeOptions?.filter?.maxConditions ?? DEFAULT_MAX_CONDITIONS, ); +const singleCondition = computed(() => props.parameter.typeOptions?.multipleValues === false); + const maxConditionsReached = computed( () => maxConditions.value <= state.paramValue.conditions.length, ); @@ -125,8 +127,12 @@ function getIssues(index: number): string[] {