mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-04-01 22:34:49 +03:00
fix: torrent progress color #410
This commit is contained in:
parent
ce698e38a8
commit
886bc13f10
3 changed files with 3 additions and 2 deletions
src
|
@ -12,7 +12,7 @@
|
||||||
:value="torrent.progress"
|
:value="torrent.progress"
|
||||||
height="20"
|
height="20"
|
||||||
:style="phoneLayout ? '' : 'width: 80%;'"
|
:style="phoneLayout ? '' : 'width: 80%;'"
|
||||||
:color="`torrent-${state}-color`"
|
:color="`torrent-${state}`"
|
||||||
rounded
|
rounded
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
|
|
@ -37,7 +37,7 @@ export default {
|
||||||
style() {
|
style() {
|
||||||
const state = this.torrent.state.toLowerCase()
|
const state = this.torrent.state.toLowerCase()
|
||||||
|
|
||||||
return `sideborder ${state} ${this.isSelected ? `torrent-${state}-color` : ''}`
|
return `sideborder ${state} ${this.isSelected ? `torrent-${state}` : ''}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -13,6 +13,7 @@ const locale = {
|
||||||
torrent: {
|
torrent: {
|
||||||
title: 'titel',
|
title: 'titel',
|
||||||
added: 'toegevoegd op',
|
added: 'toegevoegd op',
|
||||||
|
availability: 'beschikbaarheid',
|
||||||
size: 'grootte',
|
size: 'grootte',
|
||||||
progress: 'vooruitgang',
|
progress: 'vooruitgang',
|
||||||
directory: 'map',
|
directory: 'map',
|
||||||
|
|
Loading…
Add table
Reference in a new issue