This repository has been archived on 2024-03-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
timekeeper/pages/Apprentices.vue

19 lines
384 B
Vue
Raw Permalink Normal View History

<template>
2022-01-15 00:56:54 -08:00
<responsive-grid class="pb-20">
2022-01-10 02:14:44 -08:00
<apprentice-button
v-for="(process, index) in unlocked"
2022-01-10 02:14:44 -08:00
:key="`${index}-${process.workerLevel}`"
:process="process"
/>
</responsive-grid>
</template>
<script>
export default {
computed: {
unlocked() {
return this.$store.state.processes.filter((p) => p.visited && p.created)
},
},
}
</script>