Skip to content
Merged
Next Next commit
fix(form): fix crashing hasInitialOutput when 'output' is not a string
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Jul 8, 2025
commit fde4ba82fcf9ea1bd1ada8639b087b9207a2ff59
5 changes: 4 additions & 1 deletion src/components/AssistantFormOutputs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ export default {
return false
},
hasInitialOutput() {
return !!this.outputs.output?.trim()
if (typeof this.outputs?.output === 'string') {
return !!this.outputs.output?.trim()
}
return false
},
},
}
Expand Down