diff --git a/app/src/interfaces/input-rich-text-html/input-rich-text-html.vue b/app/src/interfaces/input-rich-text-html/input-rich-text-html.vue index a41d937e36..c1a74fac4f 100644 --- a/app/src/interfaces/input-rich-text-html/input-rich-text-html.vue +++ b/app/src/interfaces/input-rich-text-html/input-rich-text-html.vue @@ -191,7 +191,7 @@ export default defineComponent({ default: '', }, toolbar: { - type: Array as PropType, + type: Array as PropType, default: () => [ 'bold', 'italic', @@ -310,7 +310,7 @@ export default defineComponent({ styleFormats = props.customFormats; } - let toolbarString = props.toolbar + let toolbarString = (props.toolbar ?? []) .map((t) => t .replace(/^link$/g, 'customLink')