Fix compute status icon per row in first cell

Update the first-column v-if condition to call getStatusIcon(item, index)
directly instead of relying on a shared statusIcon value, ensuring the
correct icon is evaluated and rendered for each row.
This commit is contained in:
Alireza Heidari
2026-01-28 23:48:30 +01:00
parent 72a5631e54
commit 386b950b22
+1 -1
View File
@@ -435,7 +435,7 @@ const getCellId = (tableId: string, fieldKey: string, index: number) => `g-table
getAlignmentClass(field.align),
{ 'hide-on-small': field.hideOnSmall },
]">
<template v-if="fieldIndex === 0 && statusIcon">
<template v-if="fieldIndex === 0 && getStatusIcon(item, index)">
<FontAwesomeIcon
v-if="getStatusIcon(item, index)"
v-b-tooltip.hover.noninteractive