summaryrefslogtreecommitdiff
path: root/src/client/ui/deck/notifications-column.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ui/deck/notifications-column.vue')
-rw-r--r--src/client/ui/deck/notifications-column.vue53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/client/ui/deck/notifications-column.vue b/src/client/ui/deck/notifications-column.vue
deleted file mode 100644
index c24bf7ab10..0000000000
--- a/src/client/ui/deck/notifications-column.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-<template>
-<XColumn :column="column" :is-stacked="isStacked" :func="{ handler: func, title: $ts.notificationSetting }">
- <template #header><i class="fas fa-bell" style="margin-right: 8px;"></i>{{ column.name }}</template>
-
- <XNotifications :include-types="column.includingTypes"/>
-</XColumn>
-</template>
-
-<script lang="ts">
-import { defineComponent } from 'vue';
-import XColumn from './column.vue';
-import XNotifications from '@client/components/notifications.vue';
-import * as os from '@client/os';
-import { updateColumn } from './deck-store';
-
-export default defineComponent({
- components: {
- XColumn,
- XNotifications
- },
-
- props: {
- column: {
- type: Object,
- required: true
- },
- isStacked: {
- type: Boolean,
- required: true
- }
- },
-
- data() {
- return {
- }
- },
-
- methods: {
- func() {
- os.popup(import('@client/components/notification-setting-window.vue'), {
- includingTypes: this.column.includingTypes,
- }, {
- done: async (res) => {
- const { includingTypes } = res;
- updateColumn(this.column.id, {
- includingTypes: includingTypes
- });
- },
- }, 'closed');
- }
- }
-});
-</script>