FoundKey/packages/client/src/pages/attached-files.vue
Johann150 3747d7ecb1
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
client: add page 'notes with file attached'
2023-03-27 18:43:49 +02:00

40 lines
773 B
Vue

<template>
<MkStickyContainer>
<template #header><MkPageHeader/></template>
<MkSpacer :content-max="800">
<div class="attachments-timeline">
<XTimeline
ref="tl"
class="tl"
src="file"
:fileId="fileId"
/>
</div>
</MkSpacer>
</MkStickyContainer>
</template>
<script lang="ts" setup>
import { computed } from 'vue';
import XTimeline from '@/components/timeline.vue';
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
defineProps<{
fileId: string;
}>();
definePageMetadata(computed(() => ({
title: i18n.ts.attachedToNotes,
icon: 'fas fa-paperclip',
})));
</script>
<style lang="scss" scoped>
.attachments-timeline {
background: var(--bg);
border-radius: var(--radius);
overflow: clip;
}
</style>