Przeglądaj źródła

Fix deep linking

bubble
Kyle Shockey 6 lat temu
rodzic
commit
61a498969e
1 zmienionych plików z 3 dodań i 2 usunięć
  1. +3
    -2
      src/core/containers/OperationContainer.jsx

+ 3
- 2
src/core/containers/OperationContainer.jsx Wyświetl plik

@@ -32,6 +32,7 @@ export default class OperationContainer extends PureComponent {

getComponent: PropTypes.func.isRequired,
authActions: PropTypes.object,
oas3Actions: PropTypes.object,
authSelectors: PropTypes.object,
specActions: PropTypes.object.isRequired,
specSelectors: PropTypes.object.isRequired,
@@ -96,8 +97,8 @@ export default class OperationContainer extends PureComponent {
}

toggleShown =() => {
let { layoutActions, isShownKey, isShown } = this.props
layoutActions.show(isShownKey, !isShown)
let { layoutActions, tag, operationId, isShown } = this.props
layoutActions.show(["operations", tag, operationId], !isShown)
}

onTryoutClick =() => {


Ładowanie…
Anuluj
Zapisz