c3lf-system-3/web/src/views/admin/Notifications.vue
2024-11-29 00:51:19 +01:00

26 lines
No EOL
545 B
Vue

<template>
<ul>
<li v-for="channel in userNotificationChannels" :key="channel.id">
{{ channel.name }}
</li>
</ul>
</template>
<script>
import {mapActions, mapState} from 'vuex';
import Table from '@/components/Table';
export default {
name: 'Notifications',
components: {Table},
computed: mapState(['userNotificationChannels']),
methods: mapActions(['fetchUserNotificationChannels']),
mounted() {
this.fetchUserNotificationChannels();
}
};
</script>
<style scoped>
</style>