Skip to content

Commit

Permalink
feat: add link to monitor in worker list
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Jun 20, 2024
1 parent 43822bf commit 884a33a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/src/pages/workers/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@
>
Dead
</v-chip>
<v-btn
icon="true"
rounded
size="x-small"
:to="{ path: '/monitor/' + (item as Worker).hostname }"
style="margin-right: 5px;margin-bottom: 5px;">
<v-icon>mdi:mdi-receipt-text</v-icon>
<v-tooltip activator="parent" location="bottom">
Monitor
</v-tooltip>
</v-btn>
<br/>
Last seen {{ new TimeAgo('en-US').format(new Date((item as Worker).last_heartbeat_time)) }}
<div v-if="(item as Worker).running_job_id !== null && (item as Worker).running_job_id !== undefined">
Expand Down

0 comments on commit 884a33a

Please sign in to comment.