fix: moved minimize to onboarding composable
This commit is contained in:
parent
f877a53918
commit
472a93f22b
@ -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>
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user