fix edition from initial tasks
This commit is contained in:
@@ -49,7 +49,7 @@ const exampleSteps: Stepable[] = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
const steps = ref<Stepable[]>(
|
const steps = ref<Stepable[]>(
|
||||||
props.initialTask?.steps ?? hasTasks.value ? [] : exampleSteps
|
props.initialTask?.steps ?? (hasTasks.value ? [] : exampleSteps)
|
||||||
)
|
)
|
||||||
|
|
||||||
const title = ref(props.initialTask?.title ?? '')
|
const title = ref(props.initialTask?.title ?? '')
|
||||||
|
|||||||
Reference in New Issue
Block a user