Skip to content

Commit

Permalink
Remove check for failed to show heartbeat details (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman authored Nov 28, 2022
1 parent 26b8696 commit 45d5261
Showing 1 changed file with 22 additions and 26 deletions.
48 changes: 22 additions & 26 deletions src/lib/components/workflow/pending-activities.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -94,32 +94,28 @@
</div>
</div>
</a>
{#if failed}
<div class="pending-activity-failure-details">
{#if pendingActivity.heartbeatDetails}
<div class="w-full">
<h4 class="pending-activity-detail-header">
Heartbeat Details
</h4>
<CodeBlock
class="max-h-32"
content={pendingActivity.heartbeatDetails}
/>
</div>
{/if}
{#if pendingActivity.lastFailure}
<div class="w-full">
<h4 class="pending-activity-detail-header">
Last Failure
</h4>
<CodeBlock
class="max-h-32"
content={pendingActivity.lastFailure}
/>
</div>
{/if}
</div>
{/if}
<div class="pending-activity-failure-details">
{#if pendingActivity?.heartbeatDetails}
<div class="w-1/2 grow">
<h4 class="pending-activity-detail-header">
Heartbeat Details
</h4>
<CodeBlock
class="max-h-32"
content={pendingActivity.heartbeatDetails}
/>
</div>
{/if}
{#if pendingActivity?.lastFailure}
<div class="w-1/2 grow">
<h4 class="pending-activity-detail-header">Last Failure</h4>
<CodeBlock
class="max-h-32"
content={pendingActivity.lastFailure}
/>
</div>
{/if}
</div>
</div>
</div>
</div>
Expand Down

2 comments on commit 45d5261

@vercel
Copy link

@vercel vercel bot commented on 45d5261 Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

holocene – ./

holocene.preview.thundergun.io
holocene-git-main.preview.thundergun.io

@vercel
Copy link

@vercel vercel bot commented on 45d5261 Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-lyart.vercel.app
ui.preview.thundergun.io
ui-git-main.preview.thundergun.io

Please sign in to comment.