Skip to content

Commit 718ff83

Browse files
authored
Merge pull request #412 from ownego/fix/loading-state-for-index-table
Update: fix children loading in h function IndexTable
2 parents 314e7f6 + e5fac22 commit 718ff83

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

Diff for: src/components/IndexTable/IndexTableBase.vue

+16-14
Original file line numberDiff line numberDiff line change
@@ -604,20 +604,22 @@ const loadingMarkup = computed(() => {
604604
loading?.value && styles.LoadingPanelEntered,
605605
)
606606
},
607-
() => h(
608-
'div',
609-
{ class: styles.LoadingPanelRow },
610-
[
611-
h(Spinner, { size: 'small' }),
612-
h(
613-
'span',
614-
{ class: styles.LoadingPanelText },
615-
i18n.translate('Polaris.IndexTable.resourceLoadingAccessibilityLabel', {
616-
resourceNamePlural: contextResourceName.plural.toLocaleLowerCase(),
617-
}),
618-
),
619-
],
620-
),
607+
[
608+
h(
609+
'div',
610+
{ class: styles.LoadingPanelRow },
611+
[
612+
h(Spinner, { size: 'small' }),
613+
h(
614+
'span',
615+
{ class: styles.LoadingPanelText },
616+
i18n.translate('Polaris.IndexTable.resourceLoadingAccessibilityLabel', {
617+
resourceNamePlural: contextResourceName.plural.toLocaleLowerCase(),
618+
}),
619+
),
620+
],
621+
),
622+
]
621623
);
622624
});
623625

0 commit comments

Comments
 (0)