diff --git a/src/components/admin-lte/configure/index.js b/src/components/admin-lte/configure/index.js index b72236f..cccc73e 100644 --- a/src/components/admin-lte/configure/index.js +++ b/src/components/admin-lte/configure/index.js @@ -5,7 +5,6 @@ import MenuComponents from './menu-components' import Servers from './servers' import JsonWebTokens from './jwt' import ConfigureInfo from './info' - import TabsMenu from './TabsMenu' const BchWallet = typeof window !== 'undefined' ? window.SlpWallet : null @@ -32,6 +31,7 @@ class Configure extends React.Component { return ( + // Default View {_this.state.menuItem === 'Configure' && ( <> @@ -49,6 +49,8 @@ class Configure extends React.Component { /> )} + + // Load Plugin Views {_this.state.menuItem !== 'Configure' && MenuComponents.filter( menuItem => menuItem.key === _this.state.menuItem diff --git a/src/components/admin-lte/wallet/index.js b/src/components/admin-lte/wallet/index.js index 0e9f1b5..12bf76a 100644 --- a/src/components/admin-lte/wallet/index.js +++ b/src/components/admin-lte/wallet/index.js @@ -38,6 +38,8 @@ class Wallet extends React.Component { /> + + {this.props.importComponents} )