From bbe5c4e9d5a7e7d4c3f9eaed1a6297519958f2a1 Mon Sep 17 00:00:00 2001 From: Baraa Al-Masri Date: Wed, 15 May 2024 04:50:09 +0300 Subject: [PATCH] fix(playlist): song in playlist mark id --- views/components/playlist/popover.templ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/components/playlist/popover.templ b/views/components/playlist/popover.templ index 924076b..0a2081c 100644 --- a/views/components/playlist/popover.templ +++ b/views/components/playlist/popover.templ @@ -37,7 +37,7 @@ templ PlaylistsPopover(index int, songId string, playlists []entities.Playlist, ), } hx-swap="innerHTML" - hx-target={ fmt.Sprintf("#song-in-playlist-%s", songId) } + hx-target={ fmt.Sprintf("#song-in-playlist-%s", playlist.PublicId) } hx-trigger="click" data-loading-target="#loading" data-loading-class-remove="hidden" @@ -51,7 +51,7 @@ templ PlaylistsPopover(index int, songId string, playlists []entities.Playlist, } >