Skip to content

Commit

Permalink
fix(nuxt-img, nuxt-picture): return empty object from head when pre…
Browse files Browse the repository at this point in the history
…load is disabled (#528)
  • Loading branch information
gavmck authored Jun 22, 2022
1 parent a3b7bf0 commit 86088e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/components/nuxt-img.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default defineComponent({
]
}
}
return {}
},
computed: {
nAttrs (): NAttrs {
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/nuxt-picture.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default defineComponent({
link: [link]
}
}
return {}
},
computed: {
isTransparent (): boolean {
Expand Down

0 comments on commit 86088e4

Please sign in to comment.