Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ui): make sure input pair component updates only what's needed #6892

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/components/code/components/inputs/InputPair.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

if (index !== -1) {
// Get the value of the old key
const [value] = entries[index];
const [, value] = entries[index];

// Remove the old key from the entries
entries.splice(index, 1);
Expand Down
9 changes: 5 additions & 4 deletions ui/src/components/flows/tasks/TaskComplex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
label: root,
to: {},
component: h('task-object', {
modelValue: modelValue,
'onUpdate:modelValue': onInput,
modelValue,
schema: currentSchema,
definitions: definitions,
definitions,
'onUpdate:modelValue': onInput,
}),
},
position:
Expand All @@ -25,8 +25,9 @@
</template>

<script setup>
import TextSearch from "vue-material-design-icons/TextSearch.vue";
import {h} from "vue";

import TextSearch from "vue-material-design-icons/TextSearch.vue";
</script>

<script>
Expand Down
Loading