Plugins: show a clear error on the plugin page when it failed to load (#18733)

This commit is contained in:
Ryan McKinley
2019-08-26 23:43:45 -07:00
committed by GitHub
parent e83f55f394
commit 8ce509f3b4
3 changed files with 24 additions and 5 deletions

View File

@@ -124,6 +124,9 @@ export class GrafanaPlugin<T extends PluginMeta = PluginMeta> {
// Meta is filled in by the plugin loading system
meta?: T;
// This is set if the plugin system had errors loading the plugin
loadError?: boolean;
// Config control (app/datasource)
angularConfigCtrl?: any;