1
0
mirror of https://github.com/kihashi/stardew_community_checklist.git synced 2025-10-19 08:03:17 +00:00

Updated the bundles nav to be included in "Hide Completed"

Closes #56
This commit is contained in:
John Cleaver 2016-04-15 20:40:51 -04:00
parent ed7715c84c
commit 74cc7f8c39

View File

@ -217,15 +217,17 @@
{{ room.name }} {{ room.name }}
</a> </a>
</p> </p>
<a class="panel-block" href="#" v-for="bundle in static.bundles | filterBy active_room in 'room'" <template v-for="bundle in static.bundles | filterBy active_room in 'room'">
id="panel-bundle-{{ bundle.id }}" v-bind:class="[bundle.id == active_bundle ? 'is-active' : '']" <a class="panel-block" href="#"
v-on:click.stop="change_bundle(bundle.id)"> id="panel-bundle-{{ bundle.id }}" v-bind:class="[bundle.id == active_bundle ? 'is-active' : '']"
v-on:click.stop="change_bundle(bundle.id)" v-if="!(hideCompleted && isBundleComplete(bundle.id))">
<span class="panel-icon"> <span class="panel-icon">
<i class="fa fa-archive"></i> <i class="fa fa-archive"></i>
</span> </span>
<span v-bind:class="[isBundleComplete(bundle.id) ? 'bundle-complete' : '']">{{ bundle.name }}</span> <span v-bind:class="[isBundleComplete(bundle.id) ? 'bundle-complete' : '']">{{ bundle.name }}</span>
</a> </a>
</template>
</nav> </nav>
</div> </div>
<div class="column"> <div class="column">