Skip to content

Commit

Permalink
fix: Frontend run initiator kind for id
Browse files Browse the repository at this point in the history
Previously we changed how the initiator struct works and therefore what
information was available to the frontend, but forgot to inform the
frontend about the change.

This fixes the undefined caused by that change.
  • Loading branch information
clintjedwards committed Oct 15, 2024
1 parent 01b9dc2 commit c09a601
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gofer/public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ function generateNewRunElement(run) {
<div class="pl-4">
<div class="border-l-2 border-emerald-400">
<div class="flex space-x-2 pl-4 pt-4">
<p>Initiated by ${run.initiator.user}</p>
<span class="text-slate-500/40 rounded-sm h-5 text-white">(${run.initiator.kind})</span>
<p title="${run.initiator.id}">Initiated by ${run.initiator.user}</p>
</div>
<p class="pl-4 pt-8 text-sm">Started: ${formatTimestampToUTC(run.started)} │ Ended: ${formatTimestampToUTC(run.ended)} │ Duration: ${duration}</p>
</div>
Expand Down

0 comments on commit c09a601

Please sign in to comment.