fix: misc issues

This commit is contained in:
Jannat Patel
2025-08-20 13:30:31 +05:30
parent 5e607c3b8e
commit ebe7cc32af
2 changed files with 1 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
}" }"
> >
<template #body-title> <template #body-title>
<div class="flex items-center justify-between text-base w-full"> <div class="flex items-center justify-between space-x-2 text-base w-full">
<div class="text-xl font-semibold text-ink-gray-9"> <div class="text-xl font-semibold text-ink-gray-9">
{{ {{
programName === 'new' ? __('Create Program') : __('Edit Program') programName === 'new' ? __('Create Program') : __('Edit Program')
@@ -115,7 +115,6 @@
@click=" @click="
() => { () => {
showProgressDialog = true showProgressDialog = true
console.log('show progress dialog', showProgressDialog)
} }
" "
> >
@@ -234,7 +233,6 @@
{{ __('Save') }} {{ __('Save') }}
</Button> </Button>
</div> </div>
{{ showProgressDialog }}
</template> </template>
</Dialog> </Dialog>
</template> </template>
@@ -474,7 +472,6 @@ const updateCounts = async (
type: 'member' | 'course', type: 'member' | 'course',
action: 'add' | 'remove' action: 'add' | 'remove'
) => { ) => {
console.log('update', props.programName)
if (!props.programName) return if (!props.programName) return
let memberCount = programMembers.data?.length || 0 let memberCount = programMembers.data?.length || 0

View File

@@ -4,7 +4,6 @@ import { ref } from 'vue'
export const useSidebar = defineStore('sidebar', () => { export const useSidebar = defineStore('sidebar', () => {
const isSidebarCollapsed = ref(false) const isSidebarCollapsed = ref(false)
const isWebpagesCollapsed = ref(true) const isWebpagesCollapsed = ref(true)
const canAccessPrograms = ref(false)
if (localStorage.getItem('isSidebarCollapsed')) { if (localStorage.getItem('isSidebarCollapsed')) {
isSidebarCollapsed.value = JSON.parse( isSidebarCollapsed.value = JSON.parse(