diff --git a/src/frontend/src/stores/LoginStore.ts b/src/frontend/src/stores/LoginStore.ts index fbb66b4f9..8e0bcd6f7 100644 --- a/src/frontend/src/stores/LoginStore.ts +++ b/src/frontend/src/stores/LoginStore.ts @@ -40,7 +40,8 @@ export const useLoginStore = defineStore('login', () => { const savedForms = ref({ - jobs: {} + jobs: {}, + files: {}, }) diff --git a/src/frontend/src/views/CreatePluginFile.vue b/src/frontend/src/views/CreatePluginFile.vue index 4bd73a97a..81e23e927 100644 --- a/src/frontend/src/views/CreatePluginFile.vue +++ b/src/frontend/src/views/CreatePluginFile.vue @@ -62,7 +62,7 @@
Plugin Tasks {{ `${param.name}` }} @@ -118,7 +118,7 @@ clickable removable @click="handleSelectedParam('edit', props, i, 'outputParams'); showEditParamDialog = true" - @remove="tasks[props.rowIndex].outputParams.splice(i, 1)" + @remove="pluginFile.tasks[props.rowIndex].outputParams.splice(i, 1)" :label="`${param.name}: ${pluginParameterTypes.filter((type) => type.id === param.parameterType)[0]?.name}`" /> + > + Add Input Param + + Add Input Param + + @@ -246,24 +251,22 @@ style="height: 10px" class="q-mr-sm" @click="addOutputParam()" - /> + > + Add Output Param + + Add Output Param + + - - - Add Task - - Add Task - - + /> @@ -306,6 +309,7 @@ color="negative" label="Cancel" class="q-mr-lg" + @click="confirmLeave = true" /> @@ -343,11 +347,21 @@ @updateParam="updateParam" @addParam="addParam" /> + + \ No newline at end of file