mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 14:19:58 +00:00
Fix a bug with bulk query edit (#2479)
This commit is contained in:
parent
e3f9e3c1d4
commit
e9fb34490a
@ -111,6 +111,7 @@ class WrapperDebug extends React.PureComponent<Props> {
|
||||
handleUpdateRequestUrl,
|
||||
handleUpdateSettingsShowPasswords,
|
||||
handleUpdateSettingsUseBulkHeaderEditor,
|
||||
handleUpdateSettingsUseBulkParametersEditor,
|
||||
} = this.props;
|
||||
|
||||
const {
|
||||
@ -149,7 +150,6 @@ class WrapperDebug extends React.PureComponent<Props> {
|
||||
handleStartDragPaneVertical,
|
||||
handleUpdateDownloadPath,
|
||||
handleUpdateRequestMimeType,
|
||||
handleUpdateSettingsUseBulkParametersEditor,
|
||||
headerEditorKey,
|
||||
isVariableUncovered,
|
||||
isLoading,
|
||||
|
@ -354,6 +354,12 @@ class Wrapper extends React.PureComponent<WrapperProps, State> {
|
||||
return sUpdate(this.props.settings, { useBulkHeaderEditor });
|
||||
}
|
||||
|
||||
_handleUpdateSettingsUseBulkParametersEditor(
|
||||
useBulkParametersEditor: boolean,
|
||||
): Promise<Settings> {
|
||||
return sUpdate(this.props.settings, { useBulkParametersEditor });
|
||||
}
|
||||
|
||||
_handleImportFile(forceToWorkspace?: ForceToWorkspace): void {
|
||||
this.props.handleImportFileToWorkspace(this.props.activeWorkspace._id, forceToWorkspace);
|
||||
}
|
||||
@ -827,6 +833,9 @@ class Wrapper extends React.PureComponent<WrapperProps, State> {
|
||||
handleUpdateSettingsUseBulkHeaderEditor={
|
||||
this._handleUpdateSettingsUseBulkHeaderEditor
|
||||
}
|
||||
handleUpdateSettingsUseBulkParametersEditor={
|
||||
this._handleUpdateSettingsUseBulkParametersEditor
|
||||
}
|
||||
wrapperProps={this.props}
|
||||
/>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user