blob: b5fbda0462840971806918d8a9df75d500cd6eb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<template lang="pug">
main
header-blue
b-container
h2 List of commits
</template>
<script>
import HeaderBlue from '@/components/HeaderBlue';
export default {
name: "Home",
components: {
'header-blue': HeaderBlue,
},
mounted() {
this.$store.dispatch('get_commits');
this.$store.dispatch('get_emails');
},
computed: {
commits: () => {
return this.$store.getters.commits;
},
emails: () => {
return this.$store.getters.emails;
},
}
}
</script>
|