Merge branch 'fix/api-pane-pagination' into 'release'
Fix issue with not returning draft in api pane See merge request theappsmith/internal-tools-client!504
This commit is contained in:
commit
ea4a6bf8fd
|
|
@ -221,8 +221,8 @@ const mapStateToProps = (state: AppState, props: any): ReduxStateProps => {
|
|||
|
||||
const { drafts } = state.ui.apiPane;
|
||||
let data: RestAction | ActionData | RapidApiAction | undefined;
|
||||
if (props.match.params.id in drafts) {
|
||||
data = drafts[props.match.params.id];
|
||||
if (apiAction && apiAction.id in drafts) {
|
||||
data = drafts[apiAction.id];
|
||||
} else {
|
||||
data = apiAction;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user