Skip to content

Commit

Permalink
fix: connection table style
Browse files Browse the repository at this point in the history
  • Loading branch information
Zephyruso committed Feb 25, 2025
1 parent afb3e6d commit eec5f3a
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/components/connections/ConnectionTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,21 @@
>
<template v-if="cell.column.getIsGrouped()">
<template v-if="rows[virtualRow.index].getCanExpand()">
<MagnifyingGlassMinusIcon
v-if="rows[virtualRow.index].getIsExpanded()"
class="-mt-1 mr-1 inline-block h-4 w-4"
/>
<MagnifyingGlassPlusIcon
v-else
class="-mt-1 mr-1 inline-block h-4 w-4"
/>
<FlexRender
:render="cell.column.columnDef.cell"
:props="cell.getContext()"
/>
<span> ({{ rows[virtualRow.index].subRows.length }}) </span>
<div class="flex items-center">
<MagnifyingGlassMinusIcon
v-if="rows[virtualRow.index].getIsExpanded()"
class="mr-1 inline-block h-4 w-4"
/>
<MagnifyingGlassPlusIcon
v-else
class="mr-1 inline-block h-4 w-4"
/>
<FlexRender
:render="cell.column.columnDef.cell"
:props="cell.getContext()"
/>
<span class="ml-1"> ({{ rows[virtualRow.index].subRows.length }}) </span>
</div>
</template>
</template>
<FlexRender
Expand Down

0 comments on commit eec5f3a

Please sign in to comment.