mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
implement show copyright info on album page
+ rewrite server track and album models to use destructuring
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
<div class="text">No tracks here</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright" v-if="copyright">
|
||||
{{ copyright() }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -46,6 +49,7 @@ const props = defineProps<{
|
||||
playlistid?: string;
|
||||
on_album_page?: boolean;
|
||||
disc?: string | number;
|
||||
copyright?: () => string;
|
||||
}>();
|
||||
|
||||
const route = useRoute();
|
||||
@@ -140,6 +144,13 @@ function getTrackList() {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
font-size: 0.8rem;
|
||||
margin-top: 1rem;
|
||||
text-align: center;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.table {
|
||||
height: 100%;
|
||||
overflow-y: hidden;
|
||||
|
||||
Reference in New Issue
Block a user