diff --git a/src/components/TrackListItem.vue b/src/components/TrackListItem.vue index e61de90..a895ecc 100644 --- a/src/components/TrackListItem.vue +++ b/src/components/TrackListItem.vue @@ -43,6 +43,9 @@ + + - ({{ translate }}) +
0) t = this.track.tns[0]; + else if (this.track.al.tns?.length > 0) t = this.track.al.tns[0]; + else t = this.track.alia[0]; + return t; + }, type() { return this.$parent.type; }, isAlbum() { return this.type === 'album'; }, + isTranslate() { + return ( + this.track.tns?.length > 0 || + this.track.al.tns?.length > 0 || + this.track.alia?.length > 0 + ); + }, isTracklist() { return this.type === 'tracklist'; }, @@ -262,6 +279,9 @@ button { font-size: 14px; opacity: 0.72; } + .translate { + color: #aeaeae; + } } .artist { margin-top: 2px;