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.

30 lines
602 B

  1. <template>
  2. <base-modal
  3. text="Create"
  4. :is-create="true"
  5. >
  6. <template v-slot="slotProps">
  7. <project-creation-form
  8. :create-project="createProject"
  9. @close="slotProps.close"
  10. />
  11. </template>
  12. </base-modal>
  13. </template>
  14. <script>
  15. import { mapActions } from 'vuex'
  16. import BaseModal from '@/components/molecules/BaseModal'
  17. import ProjectCreationForm from '@/components/organisms/projects/ProjectCreationForm'
  18. export default {
  19. components: {
  20. BaseModal,
  21. ProjectCreationForm
  22. },
  23. methods: {
  24. ...mapActions('projects', ['createProject'])
  25. }
  26. }
  27. </script>