ConditionalRendering: Adjust naming and delete button alignment (#103677)

adjust naming and delete button alignment
This commit is contained in:
Sergej-Vlasov
2025-04-10 19:27:31 +01:00
committed by GitHub
parent 2eaeff8ea7
commit 828cd05f18
3 changed files with 5 additions and 5 deletions
@@ -100,7 +100,7 @@ function ConditionalRenderingBaseRenderer<T extends ConditionalRenderingBase>({
)}
</Stack>
<Stack direction="row" gap={1} justifyContent="stretch" alignItems="baseline">
<Stack direction="row" gap={1} justifyContent="stretch" alignItems="center">
<Stack flex={1} direction="column" gap={1}>
{comp}
{!model.isItemSupported() && (
@@ -17,8 +17,8 @@ export const ConditionalRenderingGroupCondition = ({ value, onChange }: Props) =
const options: Array<SelectableValue<GroupConditionCondition>> = useMemo(
() => [
{ label: t('dashboard.conditional-rendering.conditions.group.condition.all', 'Match all (AND)'), value: 'and' },
{ label: t('dashboard.conditional-rendering.conditions.group.condition.any', 'Match any (OR)'), value: 'or' },
{ label: t('dashboard.conditional-rendering.conditions.group.condition.all', 'Match all'), value: 'and' },
{ label: t('dashboard.conditional-rendering.conditions.group.condition.any', 'Match any'), value: 'or' },
],
[]
);
+2 -2
View File
@@ -2672,8 +2672,8 @@
"variable": "Template variable"
},
"condition": {
"all": "Match all (AND)",
"any": "Match any (OR)",
"all": "Match all",
"any": "Match any",
"label": "Match rules"
},
"label": "Group",