mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Show pending count only if there are pending examples
This commit is contained in:
parent
abe78410c4
commit
edcb5118e6
1 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,9 @@ module Spectator::Formatting::Components
|
||||||
io << " (" << @errors << " errors)"
|
io << " (" << @errors << " errors)"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if @pending > 1
|
||||||
io << ", " << @pending << " pending"
|
io << ", " << @pending << " pending"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue