Skip to content

Commit

Permalink
use initial prompt as source material if copywriter gets selected
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Feb 1, 2024
1 parent 7d446d0 commit 2591760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AssistantFormInputs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default {
},
mounted() {
this.writingStyle = this.inputs.writingStyle ?? ''
this.sourceMaterial = this.inputs.sourceMaterial ?? ''
this.sourceMaterial = this.inputs.sourceMaterial ?? this.inputs.prompt ?? ''
this.prompt = this.inputs.prompt ?? ''
if (this.selectedTaskTypeId === 'copywriter') {
Expand Down

0 comments on commit 2591760

Please sign in to comment.