audio streaming app plyr.fm
38
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: display album title instead of [object Object] in portal track list (#234)

also:
- change delete button from × to trash icon for better UX

authored by

nate nowack and committed by
GitHub
796124c9 d01208cf

+7 -2
+7 -2
frontend/src/routes/portal/+page.svelte
··· 663 663 {/if} 664 664 {#if track.album} 665 665 <span class="separator">•</span> 666 - <span class="album">{track.album}</span> 666 + <span class="album">{track.album.title}</span> 667 667 {/if} 668 668 </div> 669 669 {#if track.created_at} ··· 685 685 onclick={() => deleteTrack(track.id, track.title)} 686 686 title="delete track" 687 687 > 688 - × 688 + <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> 689 + <polyline points="3 6 5 6 21 6"></polyline> 690 + <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path> 691 + <line x1="10" y1="11" x2="10" y2="17"></line> 692 + <line x1="14" y1="11" x2="14" y2="17"></line> 693 + </svg> 689 694 </button> 690 695 </div> 691 696 {/if}