We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76510f3 commit 061bacbCopy full SHA for 061bacb
src/views/Viewer.vue
@@ -811,7 +811,7 @@ export default {
811
}
812
813
// checking valid handler component data
814
- if ((!handler.component || typeof handler.component !== 'object')) {
+ if ((!handler.component || (typeof handler.component !== 'object' && typeof handler.component !== 'function'))) {
815
logger.error('The following handler doesn\'t have a valid component', { handler })
816
return
817
0 commit comments