Skip to content

Commit 37522bd

Browse files
max-nextcloudbackportbot[bot]
authored andcommitted
chore(cleanup): no permissions prop and no inherited attrs
Viewer hands a lot of props to the component. We need to pick the ones we actually need and set `inheritAttrs` to false so the others are not added to the dom. Signed-off-by: Max <max@nextcloud.com> [skip ci]
1 parent 93438f5 commit 37522bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/ViewerComponent.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default defineComponent({
5656
MarkdownContentEditor: Vue.extend(MarkdownContentEditor),
5757
Editor: getEditorInstance,
5858
},
59+
inheritAttrs: false,
5960
provide() {
6061
return {
6162
isEmbedded: this.isEmbedded,

0 commit comments

Comments
 (0)