Cleanup inconsistencies with ExplicitIndicator component by removing prop

This commit is contained in:
advplyr
2024-05-12 13:35:03 -05:00
parent 911d72971e
commit 60fc4e20e6
9 changed files with 19 additions and 19 deletions

View File

@@ -29,7 +29,7 @@
</div>
<div v-else class="px-4 flex-grow">
<h1>
<div class="flex items-center">{{ book.title }}<widgets-explicit-indicator :explicit="book.explicit" /></div>
<div class="flex items-center">{{ book.title }}<widgets-explicit-indicator v-if="book.explicit" /></div>
</h1>
<p class="text-base text-gray-300 whitespace-nowrap truncate">by {{ book.author }}</p>
<p v-if="book.genres" class="text-xs text-gray-400 leading-5">{{ book.genres.join(', ') }}</p>