Skip to content

Commit

Permalink
Make the step circle background blank when it is a future step
Browse files Browse the repository at this point in the history
  • Loading branch information
shff committed Mar 22, 2018
1 parent 1c38a46 commit 11ae71b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UI/app/components/elements/step.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@click="$parent.goTo(index)">
<Ball
:index="index"
:blank="current < index"
class="mr2" />
<div class="h5 line-height-3">
<div>{{ title }}</div>
Expand Down Expand Up @@ -46,6 +47,9 @@
return this.$parent.$slots.default.filter(s => s.tag)
.indexOf(this.$vnode) + 1;
},
current() {
return this.$parent.value;
},
},
};
</script>

0 comments on commit 11ae71b

Please sign in to comment.