mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Bring back skeleton loading for monitor stage
This commit is contained in:
parent
7e9662e30e
commit
75f52c5a24
@ -185,7 +185,14 @@ Item
|
||||
}
|
||||
printJob: modelData
|
||||
}
|
||||
model: OutputDevice.queuedPrintJobs
|
||||
model:
|
||||
{
|
||||
if (OutputDevice.receivedPrintJobs)
|
||||
{
|
||||
return OutputDevice.queuedPrintJobs
|
||||
}
|
||||
return [null, null]
|
||||
}
|
||||
spacing: 6 // TODO: Theme!
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,14 @@ Component
|
||||
MonitorCarousel
|
||||
{
|
||||
id: carousel
|
||||
printers: OutputDevice.printers
|
||||
printers:
|
||||
{
|
||||
if (OutputDevice.receivedPrintJobs)
|
||||
{
|
||||
return OutputDevice.printers
|
||||
}
|
||||
return [null]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user