mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-27 17:54:40 -05:00
Don't show print time remaining if it is null or 0
This commit is contained in:
parent
35bb524cb3
commit
abf2144ca7
@ -35,8 +35,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
Job Time: {{ formatDuration(status.progress.printTime) }} elapsed,
|
||||
{{ formatDuration(status.progress.printTimeLeft) }} left
|
||||
Job Time: {{ formatDuration(status.progress.printTime) }} elapsed<span
|
||||
v-show="status.progress.printTimeLeft"
|
||||
>, {{ formatDuration(status.progress.printTimeLeft) }} left
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>User: {{ status.job.user || '-' }}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user