Skip to content

Commit

Permalink
fix: use div to simplify code and remove extra newline
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Jun 4, 2024
1 parent 554afc5 commit fea2ac0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/pages/workers/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@
" since " + new TimeAgo('en-US').format(new Date((item as Worker).running_job_assign_time)) : ""
}}
</div>
<br/>
{{
(item as Worker).internet_connectivity === false ? "No internet connectivity" : ""
}}
<div v-if="(item as Worker).internet_connectivity === false">
No internet connectivity
</div>
</template>
</v-data-table-server>
</v-col>
Expand Down

0 comments on commit fea2ac0

Please sign in to comment.