mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Bring back skeleton loading for monitor stage
This commit is contained in:
parent
7e9662e30e
commit
75f52c5a24
2 changed files with 16 additions and 2 deletions
|
@ -185,7 +185,14 @@ Item
|
||||||
}
|
}
|
||||||
printJob: modelData
|
printJob: modelData
|
||||||
}
|
}
|
||||||
model: OutputDevice.queuedPrintJobs
|
model:
|
||||||
|
{
|
||||||
|
if (OutputDevice.receivedPrintJobs)
|
||||||
|
{
|
||||||
|
return OutputDevice.queuedPrintJobs
|
||||||
|
}
|
||||||
|
return [null, null]
|
||||||
|
}
|
||||||
spacing: 6 // TODO: Theme!
|
spacing: 6 // TODO: Theme!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,14 @@ Component
|
||||||
MonitorCarousel
|
MonitorCarousel
|
||||||
{
|
{
|
||||||
id: carousel
|
id: carousel
|
||||||
printers: OutputDevice.printers
|
printers:
|
||||||
|
{
|
||||||
|
if (OutputDevice.receivedPrintJobs)
|
||||||
|
{
|
||||||
|
return OutputDevice.printers
|
||||||
|
}
|
||||||
|
return [null]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue