Skip to content

Commit

Permalink
fix: Torrent Detail modal with multiple tags shows only one tag selec…
Browse files Browse the repository at this point in the history
…ted #167
  • Loading branch information
WDaan committed Feb 28, 2021
1 parent 542b16f commit 1973b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Torrent.js
Expand Up @@ -19,7 +19,7 @@ export default class Torrent {
this.savePath = data.save_path
this.progress = Math.round(data.progress * 10000) / 100
this.ratio = Math.round(data.ratio * 100) / 100
this.tags = data.tags.length > 0 ? data.tags.split(',') : null
this.tags = data.tags.length > 0 ? data.tags.split(', ').map(t => t.trim()) : null
this.category = data.category
this.tracker = data.tracker
this.comment = data.comment
Expand Down

0 comments on commit 1973b5d

Please sign in to comment.