File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { loadResources } from 'loadResources';
1111// Before Grafana version 12.1.0 the plugin is responsible for loading translation resources
1212// In Grafana version 12.1.0 and later Grafana is responsible for loading translation resources
1313const loaders = semver . lt ( config ?. buildInfo ?. version , '12.1.0' ) ? [ loadResources ] : [ ] ;
14- await initPluginTranslations ( pluginJson . id , loaders ) ;
14+ initPluginTranslations ( pluginJson . id , loaders ) ;
1515
1616export const plugin = new PanelPlugin < SimpleOptions > ( SimplePanel ) . setPanelOptions ( ( builder ) => {
1717 return builder
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ test('should display correct translation based on Grafana version (Swedish for v
1515 gotoPanelEditPage,
1616 readProvisionedDashboard,
1717 grafanaVersion,
18- page,
1918} ) => {
2019 const dashboard = await readProvisionedDashboard ( { fileName : 'dashboard.json' } ) ;
2120 const panelEditPage = await gotoPanelEditPage ( { dashboard, id : '1' } ) ;
You can’t perform that action at this time.
0 commit comments