Also check if stage exists
This commit is contained in:
parent
fb96568df4
commit
e291e2ef52
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ export default {
|
||||||
|
|
||||||
// Ask which way the z motor turns, right after the welcome screen but before any
|
// Ask which way the z motor turns, right after the welcome screen but before any
|
||||||
// other tasks, so the stage is correctly oriented before anything else runs.
|
// other tasks, so the stage is correctly oriented before anything else runs.
|
||||||
if (this.thingDescription("stage").title != "DummyStage") {
|
if (this.thingAvailable("stage") && this.thingDescription("stage").title != "DummyStage") {
|
||||||
tasks.push({
|
tasks.push({
|
||||||
component: markRaw(singleStepTask),
|
component: markRaw(singleStepTask),
|
||||||
props: { stepComponent: zMotorDirectionStep },
|
props: { stepComponent: zMotorDirectionStep },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue