Skip to content

Commit

Permalink
feat: display worker internet connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Jun 4, 2024
1 parent b835a03 commit 4db8cfb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/pages/workers/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@
(item as Worker).running_job_assign_time !== null && (item as Worker).running_job_assign_time !== undefined ?
" since " + new TimeAgo('en-US').format(new Date((item as Worker).running_job_assign_time)) : ""
}}
<br/>
</div>
{{
(item as Worker).internet_connectivity === false ? "No internet connectivity" : ""
}}
</template>
</v-data-table-server>
</v-col>
Expand Down Expand Up @@ -83,6 +87,7 @@
disk_free_space_bytes: number;
running_job_id: number;
running_job_assign_time: string;
internet_connectivity: boolean;
}
export default {
Expand Down

0 comments on commit 4db8cfb

Please sign in to comment.