feat: category in settings

This commit is contained in:
Jannat Patel
2024-09-20 22:15:59 +05:30
parent bc4b17cc3d
commit 7c90ca4040
6 changed files with 4647 additions and 2017 deletions

View File

@@ -38,6 +38,11 @@
:description="activeTab.description"
v-model:show="show"
/>
<Categories
v-else-if="activeTab.label === 'Categories'"
:label="activeTab.label"
:description="activeTab.description"
/>
<SettingDetails
v-else
:fields="activeTab.fields"
@@ -56,6 +61,7 @@ import { ref, computed, watch } from 'vue'
import SettingDetails from '../SettingDetails.vue'
import SidebarLink from '@/components/SidebarLink.vue'
import Members from '@/components/Members.vue'
import Categories from '../Categories.vue'
const show = defineModel()
const doctype = ref('LMS Settings')
@@ -80,6 +86,11 @@ const tabs = computed(() => {
description: 'Manage the members of your learning system',
icon: 'UserRoundPlus',
},
{
label: 'Categories',
description: 'Manage the members of your learning system',
icon: 'Network',
},
{
label: 'Payment Gateway',
icon: 'DollarSign',