Skip to content

Commit

Permalink
fix(playlist): song in playlist mark id
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaraa committed May 15, 2024
1 parent fee9cc4 commit bbe5c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/components/playlist/popover.templ
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -51,7 +51,7 @@ templ PlaylistsPopover(index int, songId string, playlists []entities.Playlist,
}
>
<div
id={ fmt.Sprintf("song-in-playlist-%s", songId) }
id={ fmt.Sprintf("song-in-playlist-%s", playlist.PublicId) }
>
<div
class={
Expand Down

0 comments on commit bbe5c4e

Please sign in to comment.