fix(ui): unset active plugin to allow user to leave info page

pull/17766/head
Timmy Luong 2020-04-15 17:33:43 -07:00
parent 4e690062cb
commit fdb2524406
1 changed files with 1 additions and 0 deletions

View File

@ -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)