Fixed a bug that prevented some songs from displaying correctly

This commit is contained in:
Geomitron
2020-08-12 20:57:14 -04:00
parent 345644ab5b
commit 03f061d9c7

View File

@@ -44,7 +44,7 @@ export class ChartSidebarComponent implements OnInit {
const results = await this.electronService.invoke('song-details', result.id)
this.charts = groupBy(results, 'chartID').sort((v1, v2) => v1[0].avTagName.length - v2[0].avTagName.length)
this.sortCharts()
await this.selectChart(0)
await this.selectChart(this.charts[0][0].chartID)
this.initChartDropdown()
this.updateAlbumArtSrc(await albumArt)