mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-27 13:08:05 +09:00
40 lines
681 B
Vue
40 lines
681 B
Vue
|
<template>
|
||
|
<x-column :name="name" :column="column" :is-stacked="isStacked" :menu="menu">
|
||
|
<template #header><fa :icon="faEnvelope" style="margin-right: 8px;"/>{{ column.name }}</template>
|
||
|
|
||
|
<x-direct/>
|
||
|
</x-column>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import Vue from 'vue';
|
||
|
import { faEnvelope } from '@fortawesome/free-solid-svg-icons';
|
||
|
import XColumn from './column.vue';
|
||
|
import XDirect from '../../pages/messages.vue';
|
||
|
|
||
|
export default Vue.extend({
|
||
|
components: {
|
||
|
XColumn,
|
||
|
XDirect
|
||
|
},
|
||
|
|
||
|
props: {
|
||
|
column: {
|
||
|
type: Object,
|
||
|
required: true
|
||
|
},
|
||
|
isStacked: {
|
||
|
type: Boolean,
|
||
|
required: true
|
||
|
}
|
||
|
},
|
||
|
|
||
|
data() {
|
||
|
return {
|
||
|
menu: null,
|
||
|
faEnvelope
|
||
|
}
|
||
|
},
|
||
|
});
|
||
|
</script>
|