fix(ui): build progress bar glitch

This commit is contained in:
Guillaume Chau
2018-07-01 16:27:53 +02:00
parent 5202d4e78a
commit 162ab69f72

View File

@@ -96,7 +96,7 @@ export default {
progress () {
const raw = this.rawProgress
return raw && Object.keys(raw).length ? raw : { unknown: 0 }
return raw && Object.keys(raw).length ? raw : { [this.mode]: 0 }
}
}
}