Skip to content

Commit

Permalink
fix: unknown age for babies (#7184)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdabdii authored Oct 27, 2024
1 parent e695d76 commit 4e90bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Shared/Modules/FeedItems/GenericAction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<InertiaLink :href="data.url" class="text-gray-800 hover:underline dark:text-gray-200">{{
data.name
}}</InertiaLink>
<span v-if="data.age" class="text-gray-500">{{ data.age }}</span>
<span v-if="data.age || data.age === 0" class="text-gray-500">{{ data.age }}</span>
<span v-else class="text-xs text-gray-500">{{ $t('Unknown age') }}</span>
</div>
</div>
Expand Down

0 comments on commit 4e90bd6

Please sign in to comment.