mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 08:33:09 +02:00
40 lines
668 B
Vue
40 lines
668 B
Vue
<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: {
|
|
title: this.$ts.notifications,
|
|
icon: faBell
|
|
},
|
|
};
|
|
},
|
|
|
|
methods: {
|
|
before() {
|
|
Progress.start();
|
|
},
|
|
|
|
after() {
|
|
Progress.done();
|
|
}
|
|
}
|
|
});
|
|
</script>
|