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