Skip to content

Commit ac173e4

Browse files
committed
Hide "show details" if there are no details to show.
1 parent 6182da6 commit ac173e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private[ui] class StageTableBase(
9191
{s.name}
9292
</a>
9393

94-
val details = (
94+
val details = if (s.details.nonEmpty) (
9595
<span onclick="this.parentNode.querySelector('.stage-details').classList.toggle('collapsed')" class="expand-details">
9696
+show details
9797
</span>

0 commit comments

Comments
 (0)