Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
charleslana committed Jun 23, 2024
1 parent 356cc98 commit 3ca2650
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ModalAction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ import { Input } from '@electron/interfaces/input';
import { generateUUID } from '@electron/utils/utils';
onMounted(() => {
if (props.action.id) {
context.value = props.action.inputs[0].context;
}
props.action.inputs.forEach((input, index) => {
selectedType.value[index] = input.select ?? '#';
context.value = input.context;
});
});
Expand Down

0 comments on commit 3ca2650

Please sign in to comment.