2018-06-05 08:19:04 -06:00
|
|
|
<template>
|
|
|
|
<div>
|
2018-06-06 15:13:57 -06:00
|
|
|
<x-column :id="column.id" :name="name">
|
|
|
|
<span slot="header">%fa:bell R%{{ name }}</span>
|
2018-06-05 08:19:04 -06:00
|
|
|
|
|
|
|
<x-notifications/>
|
|
|
|
</x-column>
|
|
|
|
</div>
|
|
|
|
</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
|
|
|
},
|
|
|
|
|
|
|
|
props: {
|
2018-06-06 15:13:57 -06:00
|
|
|
column: {
|
|
|
|
type: Object,
|
2018-06-05 14:18:08 -06:00
|
|
|
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>
|