File tree Expand file tree Collapse file tree
src/components/Ontologies Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export default {
174174 if (typeof window !== " undefined" ) {
175175 this .isBrowser = true ;
176176
177- // 1. Await module initialization
177+ // Await module initialization
178178 const { default: Highcharts } = await import (" highcharts" );
179179 const { default: Sunburst } = await import (" highcharts/modules/sunburst" );
180180 const { default: Exporting } = await import (
@@ -193,8 +193,11 @@ export default {
193193 Exporting .default (Highcharts);
194194 }
195195
196- // 2. FIX: Flip flag strictly AFTER modules attach to Highcharts
197- this .modulesReady = true ;
196+ // Flip flag strictly AFTER modules attach to Highcharts
197+ this .$nextTick (() => {
198+ this .isBrowser = true ;
199+ this .modulesReady = true ;
200+ });
198201 }
199202
200203 if (this .tree ) {
You can’t perform that action at this time.
0 commit comments