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

30 lines
518 B
Vue
Raw Normal View History

2018-06-05 23:19:04 +09:00
<template>
<x-column :name="name">
<span slot="header">%fa:bell R%{{ name }}</span>
2018-06-05 23:19:04 +09:00
<x-notifications/>
</x-column>
2018-06-05 23:19:04 +09: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-06 05:18:08 +09:00
},
inject: ['column'],
2018-06-07 06:13:57 +09:00
computed: {
name(): string {
if (this.column.name) return this.column.name;
return '%i18n:common.deck.notifications%';
}
},
2018-06-05 23:19:04 +09:00
});
</script>