monkeeShark/src/client/app/desktop/views/pages/deck/deck.notifications-column.vue

39 lines
659 B
Vue
Raw Normal View History

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