diff --git a/src/components/navbar/MangaUpdatesUpdater.vue b/src/components/navbar/MangaUpdatesUpdater.vue index f9c8fc3..e722af1 100644 --- a/src/components/navbar/MangaUpdatesUpdater.vue +++ b/src/components/navbar/MangaUpdatesUpdater.vue @@ -46,11 +46,21 @@ export default class MangaUpdatesUpdater extends Vue { this.progressValue = null; this.progressMax = null; } + + get progressStyle(): any { + if (this.progressValue === null || this.progressMax === null) { + return {}; + } + return { + '--progress-value': this.progressValue / this.progressMax, + }; + } } + +