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 show = defineModel()
|
||||||
const minimize = ref(false)
|
|
||||||
|
|
||||||
const { steps, stepsCompleted, totalSteps, completedPercentage } =
|
const { steps, stepsCompleted, totalSteps, completedPercentage, minimize } =
|
||||||
useOnboarding()
|
useOnboarding()
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import TaskIcon from '@/components/Icons/TaskIcon.vue'
|
|||||||
import StepsIcon from '@/components/Icons/StepsIcon.vue'
|
import StepsIcon from '@/components/Icons/StepsIcon.vue'
|
||||||
import { ref, reactive, computed, markRaw } from 'vue'
|
import { ref, reactive, computed, markRaw } from 'vue'
|
||||||
|
|
||||||
|
const minimize = ref(false)
|
||||||
|
|
||||||
const steps = reactive([
|
const steps = reactive([
|
||||||
{
|
{
|
||||||
name: 'create_first_lead',
|
name: 'create_first_lead',
|
||||||
@ -81,6 +83,7 @@ export function useOnboarding() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
minimize,
|
||||||
steps,
|
steps,
|
||||||
stepsCompleted,
|
stepsCompleted,
|
||||||
totalSteps,
|
totalSteps,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user