Skip to content

Commit

Permalink
Fix: warning missing component in IndexTableBase
Browse files Browse the repository at this point in the history
  • Loading branch information
juzser committed Jul 25, 2024
1 parent 1c38fa0 commit 9fb3bd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/.vitepress/theme/use/useMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ export function useMeta(ignoreFetch = false) {

// String
if (types[0].startsWith('string')) {
console.log(types[0]);

return [types[0]];
}

Expand Down
7 changes: 5 additions & 2 deletions src/components/IndexTable/IndexTableBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ div(:class="styles.IndexTable")
)
component(:is="loadingMarkup")
div(:class="styles.StickyTableHeadings", ref="stickyHeaderElement")
component(
template(
v-for="heading, index in headings",
:key="getHeadingKey(heading)",
:is="renderHeading(heading, index, 'div', { 'data-index-table-sticky-heading': true })",
)
component(
v-for="headingEl in renderHeading(heading, index, 'div', { 'data-index-table-sticky-heading': true })",
:is="headingEl",
)

component(
v-if="!condensed",
Expand Down

0 comments on commit 9fb3bd3

Please sign in to comment.