Fix: Litho support form links to the old support form
Summary: See title Reviewed By: jknoxville Differential Revision: D18807448 fbshipit-source-id: 7167d18953440377ee739cf0db03a8fb600112a9
This commit is contained in:
committed by
Facebook Github Bot
parent
5c680ff325
commit
1c4addd736
@@ -25,6 +25,7 @@ export {default as Client} from './Client';
|
||||
export {MetricType} from './utils/exportMetrics';
|
||||
export {clipboard} from 'electron';
|
||||
export {default as SupportRequestFormManager} from './fb-stubs/SupportRequestFormManager';
|
||||
export {default as SupportRequestFormV2} from './fb-stubs/SupportRequestFormV2';
|
||||
export {default as constants} from './fb-stubs/constants';
|
||||
export {connect} from 'react-redux';
|
||||
export {selectPlugin, StaticView} from './reducers/connections';
|
||||
|
||||
@@ -25,6 +25,7 @@ import {
|
||||
styled,
|
||||
colors,
|
||||
SupportRequestFormManager,
|
||||
SupportRequestFormV2,
|
||||
constants,
|
||||
ReduxState,
|
||||
} from 'flipper';
|
||||
@@ -82,7 +83,11 @@ export default class Layout extends FlipperPlugin<State, any, PersistedState> {
|
||||
<FlipperADButton
|
||||
type="primary"
|
||||
onClick={() => {
|
||||
this.props.setStaticView(SupportRequestFormManager);
|
||||
this.props.setStaticView(
|
||||
GK.get('support_requests_v2')
|
||||
? SupportRequestFormV2
|
||||
: SupportRequestFormManager,
|
||||
);
|
||||
}}>
|
||||
Try it out
|
||||
</FlipperADButton>
|
||||
|
||||
Reference in New Issue
Block a user