diff --git a/src/core/components/operation.jsx b/src/core/components/operation.jsx index 52807722..08934716 100644 --- a/src/core/components/operation.jsx +++ b/src/core/components/operation.jsx @@ -152,7 +152,7 @@ export default class Operation extends PureComponent { let onChangeKey = [ path, method ] // Used to add values to _this_ operation ( indexed by path and method ) return ( -
+
{method.toUpperCase()} diff --git a/src/core/components/operations.jsx b/src/core/components/operations.jsx index abd61fbd..921429b4 100644 --- a/src/core/components/operations.jsx +++ b/src/core/components/operations.jsx @@ -82,7 +82,7 @@ export default class Operations extends React.Component { operations.map( op => { const operationId = op.getIn(["operation", "__originalOperationId"]) || op.getIn(["operation", "operationId"]) || op.get("id") - const isShownKey = ["operations", operationId, tag] + const isShownKey = ["operations", tag, operationId] const path = op.get("path", "") const method = op.get("method", "") const jumpToKey = `paths.${path}.${method}` diff --git a/src/core/plugins/deep-linking/layout-wrap-actions.js b/src/core/plugins/deep-linking/layout-wrap-actions.js index ec7421c1..a1b75d7b 100644 --- a/src/core/plugins/deep-linking/layout-wrap-actions.js +++ b/src/core/plugins/deep-linking/layout-wrap-actions.js @@ -12,7 +12,7 @@ export const show = (ori, system) => (...args) => { } if(type === "operations") { - let [, operationId, tag] = thing + let [, tag, operationId] = thing setHash(`/${tag}/${operationId}`) }