Skip to content

Commit

Permalink
Fixed lists in Album index.
Browse files Browse the repository at this point in the history
Refs #156
  • Loading branch information
The4thLaw committed Mar 18, 2024
1 parent d95e27e commit f67471d
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions source/demyo-vue-frontend/src/components/MetaSeriesCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@
>
{{ meta.album.title }}
</router-link>
<v-list dense>
<v-list-item :to="cardLink" class="c-MetaSeriesCard__one-shot">
<v-list-item-content>
<v-list-item-title>
{{ $t('field.Album.oneShot.view') }}
</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list density="compact">
<v-list-item
:to="cardLink" class="c-MetaSeriesCard__one-shot" :title="$t('field.Album.oneShot.view')"
/>
</v-list>
</template>
<template v-if="meta.series">
Expand All @@ -24,15 +20,14 @@
>
{{ meta.series.identifyingName }}
</router-link>
<v-list dense>
<v-list-item v-for="album in paginatedItems" :key="album.id" :to="`/albums/${album.id}/view`">
<v-list-item-content>
<v-list-item-title :title="album.title">
{{ album.title }}
</v-list-item-title>
</v-list-item-content>
<v-list density="compact">
<v-list-item
v-for="album in paginatedItems" :key="album.id"
:to="`/albums/${album.id}/view`" :title="album.title"
>
<!-- TODO: Vue 3: Test this -->
<v-list-item-action v-if="album.wishlist">
<v-icon color="grey lighten-1" small>
<v-icon color="grey-lighten-1" size="small">
mdi-gift
</v-icon>
</v-list-item-action>
Expand Down Expand Up @@ -100,7 +95,7 @@ export default {
</script>

<style lang="less">
@import "../styles/detached-rulesets.less";
@import url("../styles/detached-rulesets.less");
.v-application .c-MetaSeriesCard .v-list-item--link:hover {
text-decoration: none;
Expand Down

0 comments on commit f67471d

Please sign in to comment.