Skip to content

Commit

Permalink
fix: Fix computing alt in ResponsiveImage.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Espinoza committed Jun 6, 2023
1 parent ca369c7 commit 059c297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/content/ResponsiveImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default {
},
computed: {
altName() {
if (!this.src.name) return "";
const name = replaceWithSpace(this.src.name.split(".")[0]);
return uppercaseAllFirstLetter(name);
},
Expand Down

0 comments on commit 059c297

Please sign in to comment.