summaryrefslogtreecommitdiff
path: root/src/client/pages/notifications.vue
blob: 97ed36a75019223978bd67301e98ce0ad2d874a9 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
<template>
<div>
	<div class="_section">
		<XNotifications class="_content" @before="before" @after="after" page/>
	</div>
</div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { faBell } from '@fortawesome/free-solid-svg-icons';
import Progress from '@/scripts/loading';
import XNotifications from '@/components/notifications.vue';
import * as os from '@/os';

export default defineComponent({
	components: {
		XNotifications
	},

	data() {
		return {
			INFO: {
				header: [{
					title: this.$t('notifications'),
					icon: faBell
				}]
			},
		};
	},

	methods: {
		before() {
			Progress.start();
		},

		after() {
			Progress.done();
		}
	}
});
</script>