2018-06-05 16:19:04 +02:00
|
|
|
<template>
|
2018-06-08 00:43:12 +02:00
|
|
|
<x-column :name="name" :column="column" :is-stacked="isStacked">
|
2019-02-18 01:48:00 +01:00
|
|
|
<template v-slot:header><fa :icon="['far', 'bell']"/>{{ name }}</template>
|
2018-06-05 16:19:04 +02:00
|
|
|
|
2018-06-07 21:21:06 +02:00
|
|
|
<x-notifications/>
|
|
|
|
</x-column>
|
2018-06-05 16:19:04 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
2019-02-14 21:08:59 +01:00
|
|
|
import i18n from '../../../i18n';
|
2018-06-05 16:19:04 +02:00
|
|
|
import XColumn from './deck.column.vue';
|
|
|
|
import XNotifications from './deck.notifications.vue';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
2018-11-08 19:44:35 +01:00
|
|
|
i18n: i18n(),
|
2018-06-05 16:19:04 +02:00
|
|
|
components: {
|
|
|
|
XColumn,
|
|
|
|
XNotifications
|
2018-06-05 22:18:08 +02:00
|
|
|
},
|
|
|
|
|
2018-06-07 22:48:27 +02:00
|
|
|
props: {
|
|
|
|
column: {
|
|
|
|
type: Object,
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
isStacked: {
|
|
|
|
type: Boolean,
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
},
|
2018-06-06 23:13:57 +02:00
|
|
|
|
|
|
|
computed: {
|
|
|
|
name(): string {
|
|
|
|
if (this.column.name) return this.column.name;
|
2018-11-08 19:44:35 +01:00
|
|
|
return this.$t('@deck.notifications');
|
2018-06-06 23:13:57 +02:00
|
|
|
}
|
|
|
|
},
|
2018-06-05 16:19:04 +02:00
|
|
|
});
|
|
|
|
</script>
|