Adding PluginDebugger sheet
Summary: Adding a PluginDebugger that gives the user some information why a plugin might not be loaded. Reviewed By: jknoxville Differential Revision: D13465143 fbshipit-source-id: f5d7037850874ca9545ac1523fb4e0f18ede7273
This commit is contained in:
committed by
Facebook Github Bot
parent
fa9b85b065
commit
780ac863b8
@@ -16,6 +16,7 @@ import ErrorBar from './chrome/ErrorBar.js';
|
||||
import PluginContainer from './PluginContainer.js';
|
||||
import Sheet from './chrome/Sheet.js';
|
||||
import {ipcRenderer} from 'electron';
|
||||
import PluginDebugger from './chrome/PluginDebugger.js';
|
||||
|
||||
import type Logger from './fb-stubs/Logger.js';
|
||||
import type BugReporter from './fb-stubs/BugReporter.js';
|
||||
@@ -55,6 +56,8 @@ export class App extends React.Component<Props> {
|
||||
onHide={onHide}
|
||||
/>
|
||||
);
|
||||
} else if (this.props.activeSheet === 'PLUGIN_DEBUGGER') {
|
||||
return <PluginDebugger onHide={onHide} />;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user