Skip to content

Commit 9a9ea3d

Browse files
authored
Merge pull request #269 from mjaquiery/master
Highlight current step
2 parents 0997bf9 + 225322b commit 9a9ea3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/App.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@
3939
</div>
4040
<ul class="list-unstyled components">
4141
<!-- <p>Dummy Heading</p> -->
42-
<li v-for="(ui, index) in schemaOrder" :key="index">
42+
<li v-for="(ui, index) in schemaOrder" :key="index"
43+
:class="{'current': index===parseInt(activityIndex) }">
4344
<!-- hi {{ index }} {{ visibility }}-->
4445
<a @click="setActivity(index)"
4546
v-if="visibility[index]"
46-
:class="{'current': index===activityIndex}">
47+
:class="{'current': index===parseInt(activityIndex)}">
4748
<circleProgress v-if="isProtocolUrl"
4849
:radius="20"
4950
:progress="progress[index]"
@@ -838,7 +839,7 @@ export default {
838839
color: white;
839840
}
840841
841-
.current {
842+
li.current {
842843
background-color: #17a2b8;
843844
color: white !important;
844845
}

0 commit comments

Comments
 (0)