Plugins: Revert accidental change to plugins code from Alerting PR (#103400)

Revert accidental change to plugins code
collinfingar/querylibrary/public-private-toggle
Tom Ratcliffe 4 months ago committed by GitHub
parent 31ecb5d0b5
commit 224139e9d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      public/app/features/plugins/built_in_plugins.ts

@ -1,3 +1,5 @@
import { config } from '@grafana/runtime';
const graphitePlugin = async () =>
await import(/* webpackChunkName: "graphitePlugin" */ 'app/plugins/datasource/graphite/module');
const cloudwatchPlugin = async () =>
@ -55,7 +57,13 @@ const stateTimelinePanel = async () =>
await import(/* webpackChunkName: "stateTimelinePanel" */ 'app/plugins/panel/state-timeline/module');
const statusHistoryPanel = async () =>
await import(/* webpackChunkName: "statusHistoryPanel" */ 'app/plugins/panel/status-history/module');
const tablePanel = async () => await import(/* webpackChunkName: "tablePanel" */ 'app/plugins/panel/table/module');
const tablePanel = async () => {
if (config.featureToggles.tableNextGen) {
return await import(/* webpackChunkName: "tableNewPanel" */ 'app/plugins/panel/table/table-new/module');
} else {
return await import(/* webpackChunkName: "tablePanel" */ 'app/plugins/panel/table/module');
}
};
const textPanel = async () => await import(/* webpackChunkName: "textPanel" */ 'app/plugins/panel/text/module');
const timeseriesPanel = async () =>
await import(/* webpackChunkName: "timeseriesPanel" */ 'app/plugins/panel/timeseries/module');

Loading…
Cancel
Save