1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-12 16:28:06 +00:00
bramw_baserow/web-frontend/components/notifications/Notifications.vue
2019-08-26 17:49:28 +00:00

25 lines
504 B
Vue

<template>
<div class="notifications">
<Notification
v-for="notification in notifications"
:key="notification.id"
:notification="notification"
></Notification>
</div>
</template>
<script>
import { mapState } from 'vuex'
import Notification from '@/components/notifications/Notification'
export default {
name: 'Notifications',
components: { Notification },
computed: {
...mapState({
notifications: state => state.notification.items
})
}
}
</script>