Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { ButtonSizeEnum } from '@FE/types/buttons';
import { usePipelineRunStore } from '@FE/stores';

const props = defineProps<{
schema: object;
Expand All @@ -13,9 +14,11 @@

const localProps = reactive({
schema: props.schema,
params: props.params,
params: { ...props.params },
});

const pipelineRunStore = usePipelineRunStore();

onMounted(() => {
// set first section in side panel of UI to active
const definitions = props.schema.definitions;
Expand Down Expand Up @@ -55,7 +58,7 @@
() => localProps.params,
(val) => {
if (val) {
usePipelineRunStore().setParams(val);
pipelineRunStore.setParams(val);
}
},
{ deep: true },
Expand Down Expand Up @@ -98,7 +101,7 @@
:params="localProps.params"
@update:params="
(val) => {
localProps.params = val;
localProps.params = { ...val }; // Ensure reactivity on update
}
"
/>
Expand Down