fixed progress

This commit is contained in:
thilo 2020-03-21 22:29:34 +01:00
parent d5889a9ef1
commit 83f73a6827

View file

@ -1,7 +1,7 @@
<template>
<div class="questionmaire">
<div class="progress">
<div v-bind:key="n" v-for="n in $store.state.questions.length" v-bind:class="getDotClass(n)"></div>
<div v-bind:key="n" v-for="n in $store.state.questions.length - 1" v-bind:class="getDotClass(n)"></div>
</div>
<Question
v-bind:type="$store.state.questions[$store.state.currentQuestion].type"