diff --git a/src/components/table/helpers/mixin-thead.js b/src/components/table/helpers/mixin-thead.js index b342252d77d..748c4e86d7e 100644 --- a/src/components/table/helpers/mixin-thead.js +++ b/src/components/table/helpers/mixin-thead.js @@ -106,9 +106,9 @@ export default { if (slot) { slot = [slot] } else { - data.domProps = htmlOrText(field.labelHtml, field.label) + data.domProps = htmlOrText(field.labelHtml) } - return h('th', data, [slot]) + return h('th', data, slot || field.label) } // Generate the array of TH cells