Browse Source

chore/gui-v2-user-management-merge-conflict-resolved

pull/2854/head
Muhammed Mustafa 2 years ago
parent
commit
975fddac18
  1. 2
      packages/nc-gui-v2/components/tabs/Auth.vue
  2. 6
      packages/nc-gui-v2/pages/nc/[projectId]/index.vue
  3. 8
      packages/nc-gui-v2/pages/nc/[projectId]/index/index/auth.vue

2
packages/nc-gui-v2/components/tabs/Auth.vue

@ -27,7 +27,7 @@ const selectedTab = $computed(() => tabsInfo[selectedTabKeys[0]])
</script> </script>
<template> <template>
<div> <div class="mt-2">
<a-menu v-model:selectedKeys="selectedTabKeys" :open-keys="[]" mode="horizontal"> <a-menu v-model:selectedKeys="selectedTabKeys" :open-keys="[]" mode="horizontal">
<a-menu-item v-for="(tab, key) of tabsInfo" :key="key" class="select-none"> <a-menu-item v-for="(tab, key) of tabsInfo" :key="key" class="select-none">
<div class="text-xs pb-2.5"> <div class="text-xs pb-2.5">

6
packages/nc-gui-v2/pages/nc/[projectId]/index.vue

@ -3,15 +3,15 @@ import useTabs from '~/composables/useTabs'
const route = useRoute() const route = useRoute()
const { loadProject, loadTables } = useProject(route.params.projectId as string) const { loadProject, loadTables } = useProject(route.params.projectId as string)
const { clearTabs, addTab } = useTabs() const { addTab } = useTabs()
const { $state } = useNuxtApp() const { $state } = useNuxtApp()
if (!route.params.type) { if (!route.params.type) {
addTab({ type: 'auth', title: 'Team & Auth' }) addTab({ type: 'auth', title: 'Team & Auth' })
} }
loadProject(route.params.projectId as string) await loadProject(route.params.projectId as string)
loadTables() await loadTables()
$state.sidebarOpen.value = true $state.sidebarOpen.value = true
</script> </script>

8
packages/nc-gui-v2/pages/nc/[projectId]/index/index/auth.vue

@ -1,5 +1,7 @@
<script lang="ts" setup>
import Auth from '~~/components/tabs/Auth.vue'
</script>
<template> <template>
<div> <Auth />
<h2 class="text-3xl mt-3">Team & Auth</h2>
</div>
</template> </template>

Loading…
Cancel
Save