summaryrefslogtreecommitdiff
path: root/iridescence/src/components/BusyBar.vue
diff options
context:
space:
mode:
Diffstat (limited to 'iridescence/src/components/BusyBar.vue')
-rw-r--r--iridescence/src/components/BusyBar.vue10
1 files changed, 10 insertions, 0 deletions
diff --git a/iridescence/src/components/BusyBar.vue b/iridescence/src/components/BusyBar.vue
index fff2c4c..721a5fd 100644
--- a/iridescence/src/components/BusyBar.vue
+++ b/iridescence/src/components/BusyBar.vue
@@ -5,6 +5,13 @@
max="100"
v-if="isBusy"
></progress>
+ <progress
+ class="progress is-small is-primary"
+ v-bind:value="progress"
+ max="100"
+ v-if="progress < 100"
+ >{{ progress }}%</progress
+ >
</div>
</template>
@@ -14,6 +21,9 @@ export default {
computed: {
isBusy() {
return this.$store.getters.busy;
+ },
+ progress() {
+ return this.$store.getters.progress;
}
}
};