Skip to content

Commit d095164

Browse files
chore(VPictureSource): fix acces to computed value
1 parent 66cec1e commit d095164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/molecules/VPicture/VPictureSource.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const options: ImageOptions = computed(() => {
4747
4848
const size = computed(() => {
4949
const crop = options.value.modifiers?.crop
50-
const result: number[] = [options.width, options.height]
50+
const result: number[] = [options.value.width, options.value.height]
5151
5252
// If the image has a crop modifier, set the width and height.
5353
if (typeof crop === 'string' && crop.includes('x')) {

0 commit comments

Comments
 (0)