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.vue20
1 files changed, 20 insertions, 0 deletions
diff --git a/iridescence/src/components/BusyBar.vue b/iridescence/src/components/BusyBar.vue
new file mode 100644
index 0000000..fff2c4c
--- /dev/null
+++ b/iridescence/src/components/BusyBar.vue
@@ -0,0 +1,20 @@
+<template>
+ <div id="busyBar">
+ <progress
+ class="progress is-small is-primary"
+ max="100"
+ v-if="isBusy"
+ ></progress>
+ </div>
+</template>
+
+<script>
+export default {
+ name: "BusyBar",
+ computed: {
+ isBusy() {
+ return this.$store.getters.busy;
+ }
+ }
+};
+</script>