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

View File

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

View File

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

View File

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