You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
931 B

<template>
<v-card>
<v-card-title class="mb-2">
<document-action-menu />
<document-deletion-button class="ms-2" />
<v-spacer />
<document-bulk-deletion-button />
</v-card-title>
<document-list />
</v-card>
</template>
<script>
import DocumentList from '@/components/containers/documents/DocumentList'
import DocumentActionMenu from '@/components/containers/documents/DocumentActionMenu'
import DocumentDeletionButton from '@/components/containers/documents/DocumentDeletionButton'
import DocumentBulkDeletionButton from '@/components/containers/documents/DocumentBulkDeletionButton'
export default {
layout: 'project',
components: {
DocumentList,
DocumentActionMenu,
DocumentDeletionButton,
DocumentBulkDeletionButton
},
validate({ params, query }) {
return /^\d+$/.test(params.id) && /^\d+|$/.test(query.limit) && /^\d+|$/.test(query.offset)
}
}
</script>