fix(ui): unset active plugin to allow user to leave info page
parent
4e690062cb
commit
fdb2524406
|
@ -89,6 +89,7 @@ export class PluginConfigForm extends PureComponent<Props> {
|
|||
const activeTelegrafPlugin = telegrafPlugins.find(tp => tp.active)
|
||||
if (!!activeTelegrafPlugin) {
|
||||
if (!activeTelegrafPlugin.hasOwnProperty('plugin')) {
|
||||
onSetActiveTelegrafPlugin('')
|
||||
return
|
||||
}
|
||||
onSetPluginConfiguration(activeTelegrafPlugin.name)
|
||||
|
|
Loading…
Reference in New Issue