Bring back skeleton loading for monitor stage

This commit is contained in:
ChrisTerBeke 2019-08-15 21:25:56 +02:00
parent 7e9662e30e
commit 75f52c5a24
No known key found for this signature in database
GPG key ID: A49F1AB9D7E0C263
2 changed files with 16 additions and 2 deletions

View file

@ -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!
} }
} }

View file

@ -50,7 +50,14 @@ Component
MonitorCarousel MonitorCarousel
{ {
id: carousel id: carousel
printers: OutputDevice.printers printers:
{
if (OutputDevice.receivedPrintJobs)
{
return OutputDevice.printers
}
return [null]
}
} }
} }