diff --git a/CHANGELOG.md b/CHANGELOG.md index 20074d47a..831dcc18b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v2.0.8 + +- Fix `LobTable`s with nested slots + ## v2.0.7 - Fix `Icon` component registration diff --git a/package-lock.json b/package-lock.json index 41a122ebe..52510c7db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lob/ui-components", - "version": "2.0.7", + "version": "2.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lob/ui-components", - "version": "2.0.7", + "version": "2.0.8", "dependencies": { "date-fns": "^2.29.3", "date-fns-holiday-us": "^0.3.1", diff --git a/package.json b/package.json index c501514d4..b8a986ca9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lob/ui-components", - "version": "2.0.7", + "version": "2.0.8", "engines": { "node": ">=20.2.0", "npm": ">=10.2.0" diff --git a/src/components/Table/TableHeader.vue b/src/components/Table/TableHeader.vue index 146202136..605d2ab32 100644 --- a/src/components/Table/TableHeader.vue +++ b/src/components/Table/TableHeader.vue @@ -7,6 +7,7 @@ export default { const isNestedSlot = defaultSlot[0].type === 'template' || defaultSlot[0].type.toString() === 'Symbol(Fragment)' || + defaultSlot[0].type.toString() === 'Symbol(v-fgt)' || defaultSlot[0].type.toString() === 'Symbol()'; let columns; diff --git a/src/components/Table/TableRow.vue b/src/components/Table/TableRow.vue index a2176e695..ec0368b4b 100644 --- a/src/components/Table/TableRow.vue +++ b/src/components/Table/TableRow.vue @@ -13,6 +13,7 @@ export default { const isNestedSlot = defaultSlot[0].type === 'template' || defaultSlot[0].type.toString() === 'Symbol(Fragment)' || + defaultSlot[0].type.toString() === 'Symbol(v-fgt)' || defaultSlot[0].type.toString() === 'Symbol()'; let items;