Skip to content

Commit d6c20a3

Browse files
authored
Merge pull request #124 from nextcloud/fix/noid/pass-hasinteractiveview-false
fix: pass `hasInteractiveView: false` to non-interactive widgets
2 parents 4b33806 + d4caceb commit d6c20a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reference.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ registerWidget('integration_github_issue_pr', async (el, { richObjectType, richO
1717
accessible,
1818
},
1919
}).$mount(el)
20-
})
20+
}, () => {}, { hasInteractiveView: false })
2121

2222
registerWidget('integration_github_code_permalink', async (el, { richObjectType, richObject, accessible }) => {
2323
const { default: Vue } = await import(/* webpackChunkName: "reference-permalink-lazy" */'vue')
@@ -31,4 +31,4 @@ registerWidget('integration_github_code_permalink', async (el, { richObjectType,
3131
accessible,
3232
},
3333
}).$mount(el)
34-
})
34+
}, () => {}, { hasInteractiveView: false })

0 commit comments

Comments
 (0)