diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index cfdf34f50a3..8691c7a0b28 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -481,7 +481,7 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) { flat dense :class=" - btn.isPrimary ? 'text-primary-light' : 'color-vn-text ' + btn.isPrimary ? 'text-primary-light' : 'color-vn-label' " :style="`visibility: ${ ((btn.show && btn.show(row)) ?? true) @@ -589,7 +589,12 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) { :key="index" :title="btn.title" :icon="btn.icon" - class="q-pa-xs text-primary-light" + class="q-pa-xs" + :class=" + btn.isPrimary + ? 'text-primary-light' + : 'color-vn-label' + " flat @click="btn.action(row)" />