mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-12 16:28:06 +00:00
25 lines
504 B
Vue
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>
|