mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-24 00:13:48 -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>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
Job Time: {{ formatDuration(status.progress.printTime) }} elapsed,
|
Job Time: {{ formatDuration(status.progress.printTime) }} elapsed<span
|
||||||
{{ formatDuration(status.progress.printTimeLeft) }} left
|
v-show="status.progress.printTimeLeft"
|
||||||
|
>, {{ formatDuration(status.progress.printTimeLeft) }} left
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>User: {{ status.job.user || '-' }}</div>
|
<div>User: {{ status.job.user || '-' }}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user