mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 01:39:06 +01:00
0089260392
This reverts commit 9c30b23358699a530f2bcb0f5ae6efe17146bcb3.
43 lines
697 B
Vue
43 lines
697 B
Vue
<template>
|
|
<div>
|
|
<portal to="icon"><fa :icon="faBell"/></portal>
|
|
<portal to="title">{{ $t('notifications') }}</portal>
|
|
<x-notifications @before="before" @after="after" page/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
import { faBell } from '@fortawesome/free-solid-svg-icons';
|
|
import Progress from '../scripts/loading';
|
|
import XNotifications from '../components/notifications.vue';
|
|
|
|
export default Vue.extend({
|
|
metaInfo() {
|
|
return {
|
|
title: this.$t('notifications') as string
|
|
};
|
|
},
|
|
|
|
components: {
|
|
XNotifications
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
faBell
|
|
};
|
|
},
|
|
|
|
methods: {
|
|
before() {
|
|
Progress.start();
|
|
},
|
|
|
|
after() {
|
|
Progress.done();
|
|
}
|
|
}
|
|
});
|
|
</script>
|