2018-06-05 17:19:04 +03:00
|
|
|
<template>
|
2018-06-07 23:48:27 +03:00
|
|
|
<x-column :name="name" :column="column" :is-stacked="isStacked" :is-active="isActive">
|
2018-06-07 22:21:06 +03:00
|
|
|
<span slot="header">%fa:bell R%{{ name }}</span>
|
2018-06-05 17:19:04 +03:00
|
|
|
|
2018-06-07 22:21:06 +03:00
|
|
|
<x-notifications/>
|
|
|
|
</x-column>
|
2018-06-05 17:19:04 +03: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 23:18:08 +03:00
|
|
|
},
|
|
|
|
|
2018-06-07 23:48:27 +03:00
|
|
|
props: {
|
|
|
|
column: {
|
|
|
|
type: Object,
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
isStacked: {
|
|
|
|
type: Boolean,
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
isActive: {
|
|
|
|
type: Boolean,
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
},
|
2018-06-07 00:13:57 +03:00
|
|
|
|
|
|
|
computed: {
|
|
|
|
name(): string {
|
|
|
|
if (this.column.name) return this.column.name;
|
|
|
|
return '%i18n:common.deck.notifications%';
|
|
|
|
}
|
|
|
|
},
|
2018-06-05 17:19:04 +03:00
|
|
|
});
|
|
|
|
</script>
|