Skip to content

Commit eb0c6b6

Browse files
swetankrathiandrefarzat
authored andcommitted
Fix: #243 - temporary fixed theme module not found error
1 parent 43d99f4 commit eb0c6b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/plotly/src/lib/plotly.theme-loader.service.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ export class PlotlyThemeLoaderService {
1313
public load(themeName: PlotlyTheme): Promise<any> {
1414
this._isLoading = true;
1515
return new Promise(resolve => {
16-
import(`./themes/${themeName}.json`).then(data => {
17-
resolve(data);
18-
this._isLoading = false;
19-
});
16+
// import(`./themes/${themeName}.json`).then(data => {
17+
resolve(true);
18+
// this._isLoading = false;
19+
// });
2020
});
2121
}
2222
}

0 commit comments

Comments
 (0)