1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-26 13:44:41 +00:00
bramw_baserow/web-frontend/pages/app/index.vue

31 lines
640 B
Vue

<template>
<div>
<h1>Welcome {{ user }}</h1>
<p>
{{ groups }}
<br /><br />
{{ selectedGroup }}
<br /><br />
{{ applications }}
<br /><br />
{{ groupApplications }}
</p>
</div>
</template>
<script>
import { mapState } from 'vuex'
export default {
layout: 'app',
computed: {
...mapState({
user: state => state.auth.user,
groups: state => state.group.items,
selectedGroup: state => state.application.selectedGroup,
applications: state => state.application.applications,
groupApplications: state => state.application.items
})
}
}
</script>