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>
<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">
{{
programName === 'new' ? __('Create Program') : __('Edit Program')
@@ -115,7 +115,6 @@
@click="
() => {
showProgressDialog = true
console.log('show progress dialog', showProgressDialog)
}
"
>
@@ -234,7 +233,6 @@
{{ __('Save') }}
</Button>
</div>
{{ showProgressDialog }}
</template>
</Dialog>
</template>
@@ -474,7 +472,6 @@ const updateCounts = async (
type: 'member' | 'course',
action: 'add' | 'remove'
) => {
console.log('update', props.programName)
if (!props.programName) return
let memberCount = programMembers.data?.length || 0

View File

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