File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
packages/main/src/components/AnalyticalTable/hooks Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -484,14 +484,17 @@ const useColumnsDeps = (
484484} ;
485485
486486const columns = ( columns : TableInstance [ 'columns' ] , { instance } : { instance : TableInstance } ) => {
487- const { scaleWidthMode, loading } = instance . webComponentsReactProperties ;
487+ const { scaleWidthMode, loading, fontsReady } = instance . webComponentsReactProperties ;
488488 const { state } = instance ;
489489 const { hiddenColumns, tableClientWidth : totalWidth } = state ;
490- if ( ! instance . state || ! instance . rows ) {
491- return columns ;
492- }
493-
494- if ( columns . length === 0 || ! totalWidth || ! AnalyticalTableScaleWidthMode [ scaleWidthMode ] ) {
490+ if (
491+ ! instance . state ||
492+ ! instance . rows ||
493+ columns . length === 0 ||
494+ ! totalWidth ||
495+ ! AnalyticalTableScaleWidthMode [ scaleWidthMode ] ||
496+ ! fontsReady
497+ ) {
495498 return columns ;
496499 }
497500
You can’t perform that action at this time.
0 commit comments