Skip to content

Commit bd7b4ac

Browse files
authored
Merge pull request #423 from ownego/fix/resource-list-header-content-props
Update: missing use of headerContent Props
2 parents 6b67c81 + 9886839 commit bd7b4ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/ResourceList/ResourceList.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ const headerTitle = computed(() => {
383383
totalItemsCount: props.totalItemsCount,
384384
resource,
385385
});
386+
} else if (props.headerContent) {
387+
return props.headerContent;
386388
} else {
387389
return i18n.translate('Polaris.ResourceList.showing', {
388390
itemsCount,

0 commit comments

Comments
 (0)