2020-07-11 04:13:11 +03:00
|
|
|
<template>
|
2020-12-28 04:56:42 +02:00
|
|
|
<XColumn :column="column" :is-stacked="isStacked">
|
2021-04-20 17:22:59 +03:00
|
|
|
<template #header><i class="fas fa-envelope" style="margin-right: 8px;"></i>{{ column.name }}</template>
|
2020-07-11 04:13:11 +03:00
|
|
|
|
2022-01-12 19:29:27 +02:00
|
|
|
<XNotes :pagination="pagination"/>
|
2020-10-17 14:12:00 +03:00
|
|
|
</XColumn>
|
2020-07-11 04:13:11 +03:00
|
|
|
</template>
|
|
|
|
|
2022-01-12 19:29:27 +02:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { computed } from 'vue';
|
2020-07-11 04:13:11 +03:00
|
|
|
import XColumn from './column.vue';
|
2021-11-11 19:02:25 +02:00
|
|
|
import XNotes from '@/components/notes.vue';
|
|
|
|
import * as os from '@/os';
|
2020-07-11 04:13:11 +03:00
|
|
|
|
2022-01-12 19:29:27 +02:00
|
|
|
const props = defineProps<{
|
|
|
|
column: Record<string, unknown>; // TODO
|
|
|
|
isStacked: boolean;
|
|
|
|
}>();
|
2020-07-11 04:13:11 +03:00
|
|
|
|
2022-01-12 19:29:27 +02:00
|
|
|
const pagination = {
|
|
|
|
point: 'notes/mentions' as const,
|
|
|
|
limit: 10,
|
|
|
|
params: computed(() => ({
|
|
|
|
visibility: 'specified' as const,
|
|
|
|
})),
|
|
|
|
};
|
2020-07-11 04:13:11 +03:00
|
|
|
</script>
|