fix: moved minimize to onboarding composable

This commit is contained in:
Shariq Ansari 2025-03-12 16:01:05 +05:30
parent f877a53918
commit 472a93f22b
2 changed files with 4 additions and 2 deletions

View File

@ -82,8 +82,7 @@ const props = defineProps({
})
const show = defineModel()
const minimize = ref(false)
const { steps, stepsCompleted, totalSteps, completedPercentage } =
const { steps, stepsCompleted, totalSteps, completedPercentage, minimize } =
useOnboarding()
</script>

View File

@ -8,6 +8,8 @@ import TaskIcon from '@/components/Icons/TaskIcon.vue'
import StepsIcon from '@/components/Icons/StepsIcon.vue'
import { ref, reactive, computed, markRaw } from 'vue'
const minimize = ref(false)
const steps = reactive([
{
name: 'create_first_lead',
@ -81,6 +83,7 @@ export function useOnboarding() {
}
return {
minimize,
steps,
stepsCompleted,
totalSteps,