Browse Source

chore(gui-v2): path correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2730/head
Pranav C 2 years ago
parent
commit
f29da6a4e1
  1. 4
      packages/nc-gui-v2/pages/index/index/index.vue
  2. 2
      packages/nc-gui-v2/pages/index/index/list.vue
  3. 0
      packages/nc-gui-v2/pages/project/index.vue
  4. 3
      packages/nc-gui-v2/pages/project/index/create-external.vue
  5. 0
      packages/nc-gui-v2/pages/project/index/create.vue

4
packages/nc-gui-v2/pages/index/index/index.vue

@ -52,14 +52,14 @@ const formatTitle = (title: string) =>
<v-list class="!py-0 flex flex-col bg-white rounded-lg shadow-md border-1 border-gray-300 mt-2 ml-2">
<div
class="grid grid-cols-12 cursor-pointer hover:bg-gray-200 flex items-center p-2"
@click="navigateTo('/projects/create')"
@click="navigateTo('/project/create')"
>
<MdiPlus class="col-span-2 mr-1 mt-[1px] text-primary text-lg" />
<div class="col-span-10 text-sm xl:text-md">{{ $t('activity.createProject') }}</div>
</div>
<div
class="grid grid-cols-12 cursor-pointer hover:bg-gray-200 flex items-center p-2"
@click="navigateTo('/projects/create-external')"
@click="navigateTo('/project/create-external')"
>
<MdiDatabaseOutline class="col-span-2 mr-1 mt-[1px] text-green-500 text-lg" />
<div class="col-span-10 text-sm xl:text-md" v-html="$t('activity.createProjectExtended.extDB')" />

2
packages/nc-gui-v2/pages/index/index/list.vue

@ -13,7 +13,7 @@ const { projects = [] } = defineProps<Props>()
const emit = defineEmits(['delete-project'])
const { $e } = useNxuxtApp()
const { $e } = useNuxtApp()
const openProject = async (project: ProjectType) => {
await navigateTo(`/nc/${project.id}`)

0
packages/nc-gui-v2/pages/projects/index.vue → packages/nc-gui-v2/pages/project/index.vue

3
packages/nc-gui-v2/pages/projects/index/create-external.vue → packages/nc-gui-v2/pages/project/index/create-external.vue

@ -33,6 +33,7 @@ const formState = $ref<ProjectCreateForm>({
inflection_column: 'camelize',
inflection_table: 'camelize',
},
sslUse: 'No',
})
const validators = computed(() => {
@ -212,7 +213,7 @@ onMounted(() => {
<template>
<a-card
class="max-w-[600px] mx-auto !mt-5"
class="max-w-[600px] mx-auto !mt-5 !mb-5"
:title="$t('activity.createProject')"
:head-style="{ textAlign: 'center', fontWeight: '700' }"
>

0
packages/nc-gui-v2/pages/projects/index/create.vue → packages/nc-gui-v2/pages/project/index/create.vue

Loading…
Cancel
Save