Skip to content

Commit

Permalink
Fix display of workers detail
Browse files Browse the repository at this point in the history
Was a bit broken since upgrade to bootstrap 5
  • Loading branch information
pgiraud committed Feb 19, 2024
1 parent cb855c9 commit 3fddb61
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/components/PlanNodeDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -563,16 +563,20 @@ watch(activeTab, () => {
<b>Worker {{ worker[WorkerProp.WORKER_NUMBER] }}</b>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item p-0">
<table class="table table-sm prop-list mb-0">
<template v-for="(value, key) in worker" :key="key">
<tr v-if="shouldShowProp(key as string, value)">
<td width="40%">{{ key }}</td>
<td v-html="formatNodeProp(key as string, value)"></td>
</tr>
</template>
</table>
</li>
<template v-for="(value, key) in worker" :key="key">
<li
class="list-group-item d-flex flex-row"
v-if="shouldShowProp(key as string, value)"
>
<div class="col-6">
{{ key }}
</div>
<div
class="col-6"
v-html="formatNodeProp(key as string, value)"
></div>
</li>
</template>
</ul>
</div>
</template>
Expand Down

0 comments on commit 3fddb61

Please sign in to comment.