Skip to content

Commit

Permalink
fix: always one star on favorite notebook #147
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Feb 8, 2024
1 parent 652c100 commit 5444091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Fields/Stars.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineNuxtComponent({
<template>
<div class="stars-data tw-text-amber-500 tw-mb-1">
<FontAwesomeIcon
v-for="index in new Array(stars)"
v-for="index in Number(stars)"
:key="index"
icon="star"
/>
Expand Down

0 comments on commit 5444091

Please sign in to comment.