bugfix: New select mode color

This commit is contained in:
m4ximuel 2021-04-23 16:21:49 +09:00 committed by GitHub
parent 129ef450bc
commit a9653d9b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,9 @@ export default {
return this.selected_torrents.includes(this.torrent.hash)
},
style() {
return `sideborder ${this.torrent.state.toLowerCase()} ${this.isSelected ? 'v-chip' : ''}`
const state = this.torrent.state.toLowerCase()
return `sideborder ${state} ${this.isSelected ? `torrent-${state}-color` : ''}`
}
},
methods: {