Browse Source

feat(gui-v2): project create api invoke

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2730/head
Pranav C 2 years ago
parent
commit
a362a14d56
  1. 2
      packages/nc-gui-v2/pages/projects/index/create.vue

2
packages/nc-gui-v2/pages/projects/index/create.vue

@ -48,7 +48,7 @@ const createProject = async () => {
<a-card class="w-[500px] mx-auto !mt-100px"> <a-card class="w-[500px] mx-auto !mt-100px">
<h3 class="text-3xl text-center font-semibold mb-2">{{ $t('activity.createProject') }}</h3> <h3 class="text-3xl text-center font-semibold mb-2">{{ $t('activity.createProject') }}</h3>
<a-form :model="formState" name="basic" layout="vertical" autocomplete="off"> <a-form :model="formState" name="basic" layout="vertical" autocomplete="off" @submit="createProject">
<a-form-item :label="$t('labels.projName')" name="title" :rules="nameValidationRules" class="my-10"> <a-form-item :label="$t('labels.projName')" name="title" :rules="nameValidationRules" class="my-10">
<a-input v-model:value="formState.title" name="title" class="nc-metadb-project-name" /> <a-input v-model:value="formState.title" name="title" class="nc-metadb-project-name" />
</a-form-item> </a-form-item>

Loading…
Cancel
Save