fix: Correct column render order (Tags before OS)
This commit is contained in:
parent
871a714a3e
commit
c169ead4d2
1 changed files with 15 additions and 15 deletions
|
|
@ -978,7 +978,21 @@ export function GuestRow(props: GuestRowProps) {
|
|||
</td>
|
||||
</Show>
|
||||
|
||||
{/* OS - NEW */}
|
||||
{/* Tags */}
|
||||
<Show when={isColVisible('tags')}>
|
||||
<td class="px-2 py-1 align-middle">
|
||||
<div class="flex justify-center" onClick={(event) => event.stopPropagation()}>
|
||||
<TagBadges
|
||||
tags={Array.isArray(props.guest.tags) ? props.guest.tags : []}
|
||||
maxVisible={2}
|
||||
onTagClick={props.onTagClick}
|
||||
activeSearch={props.activeSearch}
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
</Show>
|
||||
|
||||
{/* OS */}
|
||||
<Show when={isColVisible('os')}>
|
||||
<td class="px-2 py-1 align-middle">
|
||||
<div class="flex justify-center">
|
||||
|
|
@ -994,20 +1008,6 @@ export function GuestRow(props: GuestRowProps) {
|
|||
</td>
|
||||
</Show>
|
||||
|
||||
{/* Tags */}
|
||||
<Show when={isColVisible('tags')}>
|
||||
<td class="px-2 py-1 align-middle">
|
||||
<div class="flex justify-center" onClick={(event) => event.stopPropagation()}>
|
||||
<TagBadges
|
||||
tags={Array.isArray(props.guest.tags) ? props.guest.tags : []}
|
||||
maxVisible={2}
|
||||
onTagClick={props.onTagClick}
|
||||
activeSearch={props.activeSearch}
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
</Show>
|
||||
|
||||
{/* Disk Read */}
|
||||
<Show when={isColVisible('diskRead')}>
|
||||
<td class="px-2 py-1 align-middle">
|
||||
|
|
|
|||
Loading…
Reference in a new issue