From 9501880044a3400049d8fc68bd8e4765e0a40da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Paunovi=C4=87?= Date: Thu, 23 Jan 2025 19:43:27 +0100 Subject: [PATCH] feat(ui): improvements of no code editor (#6916) * feat(ui): improve the one of task section * chore(ui): change expected prop type to match what is sent * chore(ui): allow number input fields to span full width * chore(ui): remove disabled parameter from buttons which don't need it --- ui/src/components/code/components/inputs/InputPair.vue | 2 +- ui/src/components/flows/tasks/TaskComplex.vue | 2 +- ui/src/components/flows/tasks/TaskCondition.vue | 5 +---- ui/src/components/flows/tasks/TaskTask.vue | 5 +---- ui/src/components/settings/BasicSettings.vue | 3 ++- ui/src/components/settings/components/Wrapper.vue | 2 +- 6 files changed, 7 insertions(+), 12 deletions(-) diff --git a/ui/src/components/code/components/inputs/InputPair.vue b/ui/src/components/code/components/inputs/InputPair.vue index e0117c29fd9..ca09d99382c 100644 --- a/ui/src/components/code/components/inputs/InputPair.vue +++ b/ui/src/components/code/components/inputs/InputPair.vue @@ -46,7 +46,7 @@ const emits = defineEmits(["update:modelValue"]); const props = defineProps({ modelValue: { - type: Array as PropType, + type: Object as PropType, default: undefined, }, label: {type: String, required: true}, diff --git a/ui/src/components/flows/tasks/TaskComplex.vue b/ui/src/components/flows/tasks/TaskComplex.vue index 8e03f5f1b8f..47df4d9f2ea 100644 --- a/ui/src/components/flows/tasks/TaskComplex.vue +++ b/ui/src/components/flows/tasks/TaskComplex.vue @@ -1,5 +1,5 @@