30 lines
518 B
Vue
30 lines
518 B
Vue
<template>
|
|
<x-column :name="name">
|
|
<span slot="header">%fa:bell R%{{ name }}</span>
|
|
|
|
<x-notifications/>
|
|
</x-column>
|
|
</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
|
|
},
|
|
|
|
inject: ['column'],
|
|
|
|
computed: {
|
|
name(): string {
|
|
if (this.column.name) return this.column.name;
|
|
return '%i18n:common.deck.notifications%';
|
|
}
|
|
},
|
|
});
|
|
</script>
|