mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-18 07:57:38 -07:00
38 lines
659 B
Vue
38 lines
659 B
Vue
<template>
|
|
<x-column :name="name" :column="column" :is-stacked="isStacked">
|
|
<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
|
|
},
|
|
|
|
props: {
|
|
column: {
|
|
type: Object,
|
|
required: true
|
|
},
|
|
isStacked: {
|
|
type: Boolean,
|
|
required: true
|
|
}
|
|
},
|
|
|
|
computed: {
|
|
name(): string {
|
|
if (this.column.name) return this.column.name;
|
|
return '%i18n:common.deck.notifications%';
|
|
}
|
|
},
|
|
});
|
|
</script>
|