From 1deb3df8cef6e4624390e304be4e0952c7779f09 Mon Sep 17 00:00:00 2001 From: ArneBo Date: Fri, 24 Jan 2025 03:00:07 +0100 Subject: [PATCH] fix(front): mistakes --- front/src/components/playlists/Card.vue | 16 +++++++--------- front/src/components/ui/Pagination.vue | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/front/src/components/playlists/Card.vue b/front/src/components/playlists/Card.vue index 07c548c64..910f9c259 100644 --- a/front/src/components/playlists/Card.vue +++ b/front/src/components/playlists/Card.vue @@ -29,7 +29,6 @@ const images = computed(() => { return urls }) - const bgcolors = ref([ '#f2efef', '#eee9e9', @@ -50,7 +49,6 @@ function shuffleArray(array: string[]): string[] { const randomizedColors = computed(() => shuffleArray(bgcolors.value)); - const goToPlaylist = () => { router.push({name: 'library.playlists.detail', params: {id: props.playlist.id}}) } @@ -85,7 +83,6 @@ const goToPlaylist = () => {
@@ -103,19 +100,20 @@ const goToPlaylist = () => { -