Skip to content

Commit

Permalink
Bug #54579. Disable render for empty start time at action card's header.
Browse files Browse the repository at this point in the history
(cherry picked from commit 735a4f374c5669afdcba8eaa45076afef7df383a)

Change-Id: Ia7e124c56c8dbda0688c77d7c1d6d7de9234dc79
  • Loading branch information
ValyaBuldozer authored and Nikita-Smirnov-Exactpro committed Apr 26, 2019
1 parent 66b1861 commit 9fcbf60
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions FrontEnd/Sailfish-JS-report/src/components/ActionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,14 @@ export const ActionCard = ({ action, children, isSelected, onSelect, isRoot, isT
<h3>{description}</h3>
</div>
</div>
<div class="ac-header__start-time">
<span>Start</span>
<p>{formatTime(action.startTime)}</p>
</div>
{
action.startTime ? (
<div class="ac-header__start-time">
<span>Start</span>
<p>{formatTime(action.startTime)}</p>
</div>
) : null
}
<div class="ac-header__elapsed-time">
<h3>{elapsedTime}</h3>
</div>
Expand Down

0 comments on commit 9fcbf60

Please sign in to comment.