This repository has been archived on 2024-03-13. You can view files and clone it, but cannot push or open issues or pull requests.
timekeeper/pages/Apprentices.vue

20 lines
370 B
Vue
Raw Normal View History

<template>
2022-01-10 10:14:44 +00:00
<responsive-grid>
<apprentice-button
v-for="(process, index) in unlocked"
2022-01-10 10:14:44 +00: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>