Skip to content

Commit 059c297

Browse files
author
Luis Espinoza
committed
fix: Fix computing alt in ResponsiveImage.vue
1 parent ca369c7 commit 059c297

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/components/content/ResponsiveImage.vue‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default {
3737
},
3838
computed: {
3939
altName() {
40+
if (!this.src.name) return "";
4041
const name = replaceWithSpace(this.src.name.split(".")[0]);
4142
return uppercaseAllFirstLetter(name);
4243
},

0 commit comments

Comments
 (0)