[web] Streamline name of component properties to prepare for refactoring

This commit is contained in:
Alain Nussbaumer 2024-03-23 23:58:07 +01:00
parent 30aee058bf
commit 1d426f78a6
4 changed files with 10 additions and 10 deletions

View File

@ -32,7 +32,7 @@
v-text="$t('page.podcast.track-count', { count: album.track_count })"
/>
<list-tracks
:tracks="tracks"
:items="tracks"
:show_progress="true"
@play-count-changed="reload_tracks"
/>

View File

@ -42,7 +42,7 @@
</template>
<template #content>
<list-albums
:albums="albums"
:items="albums"
@play-count-changed="reload_new_episodes()"
@podcast-deleted="reload_podcasts()"
/>

View File

@ -54,7 +54,7 @@
<p class="title is-4" v-text="$t('page.search.tracks')" />
</template>
<template #content>
<list-tracks :tracks="tracks" />
<list-tracks :items="tracks" />
</template>
<template #footer>
<nav v-if="show_all_button(tracks)" class="level">
@ -83,7 +83,7 @@
<p class="title is-4" v-text="$t('page.search.artists')" />
</template>
<template #content>
<list-artists :artists="artists" />
<list-artists :items="artists" />
</template>
<template #footer>
<nav v-if="show_all_button(artists)" class="level">
@ -112,7 +112,7 @@
<p class="title is-4" v-text="$t('page.search.albums')" />
</template>
<template #content>
<list-albums :albums="albums" />
<list-albums :items="albums" />
</template>
<template #footer>
<nav v-if="show_all_button(albums)" class="level">
@ -141,7 +141,7 @@
<p class="title is-4" v-text="$t('page.search.composers')" />
</template>
<template #content>
<list-composers :composers="composers" />
<list-composers :items="composers" />
</template>
<template #footer>
<nav v-if="show_all_button(composers)" class="level">
@ -170,7 +170,7 @@
<p class="title is-4" v-text="$t('page.search.playlists')" />
</template>
<template #content>
<list-playlists :playlists="playlists" />
<list-playlists :items="playlists" />
</template>
<template #footer>
<nav v-if="show_all_button(playlists)" class="level">
@ -199,7 +199,7 @@
<p class="title is-4" v-text="$t('page.search.podcasts')" />
</template>
<template #content>
<list-albums :albums="podcasts" />
<list-albums :items="podcasts" />
</template>
<template #footer>
<nav v-if="show_all_button(podcasts)" class="level">
@ -229,7 +229,7 @@
<p class="title is-4" v-text="$t('page.search.audiobooks')" />
</template>
<template #content>
<list-albums :albums="audiobooks" />
<list-albums :items="audiobooks" />
</template>
<template #footer>
<nav v-if="show_all_button(audiobooks)" class="level">

View File

@ -168,7 +168,7 @@
<list-item-album-spotify
v-for="album in albums.items"
:key="album.id"
:album="album"
:item="album"
@click="open_album(album)"
>
<template v-if="is_visible_artwork" #artwork>