From 4749b903507f6b87ebdfc4a8f70a6372215ec552 Mon Sep 17 00:00:00 2001 From: Josh Ponelat Date: Sun, 19 Mar 2017 17:35:26 +0200 Subject: [PATCH] move the securityDefinitions conditional, outside of Schemes --- src/standalone/layout.jsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/standalone/layout.jsx b/src/standalone/layout.jsx index ba128871..accd77b7 100644 --- a/src/standalone/layout.jsx +++ b/src/standalone/layout.jsx @@ -67,12 +67,14 @@ export default class StandaloneLayout extends React.Component {
- { securityDefinitions && - - { schemes && schemes.size ? : null } - - - } + + { schemes && schemes.size ? ( + + ) : null } + { securityDefinitions ? ( + + ) : null } +