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.

29 lines
738 B

  1. <template>
  2. <v-card>
  3. <v-card-title class="mb-2">
  4. <document-action-menu />
  5. <document-deletion-button class="ms-2" />
  6. </v-card-title>
  7. <document-list />
  8. </v-card>
  9. </template>
  10. <script>
  11. import DocumentList from '@/components/containers/documents/DocumentList'
  12. import DocumentActionMenu from '@/components/containers/documents/DocumentActionMenu'
  13. import DocumentDeletionButton from '@/components/containers/documents/DocumentDeletionButton'
  14. export default {
  15. layout: 'project',
  16. components: {
  17. DocumentList,
  18. DocumentActionMenu,
  19. DocumentDeletionButton
  20. },
  21. validate({ params, query }) {
  22. return /^\d+$/.test(params.id) && /^\d+|$/.test(query.limit) && /^\d+|$/.test(query.offset)
  23. }
  24. }
  25. </script>