Skip to content

Commit

Permalink
chore(VPictureSource): fix acces to computed value
Browse files Browse the repository at this point in the history
  • Loading branch information
timothejoubert committed Jun 3, 2024
1 parent 66cec1e commit d095164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/molecules/VPicture/VPictureSource.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const options: ImageOptions = computed(() => {
const size = computed(() => {
const crop = options.value.modifiers?.crop
const result: number[] = [options.width, options.height]
const result: number[] = [options.value.width, options.value.height]
// If the image has a crop modifier, set the width and height.
if (typeof crop === 'string' && crop.includes('x')) {
Expand Down

0 comments on commit d095164

Please sign in to comment.