diff --git a/source/components/Controls.js b/source/components/Controls.js index 73f6eecf8..964c206d7 100644 --- a/source/components/Controls.js +++ b/source/components/Controls.js @@ -15,9 +15,12 @@ function Controls({ hideControl, foldedSteps, colours, - hiddenControls + hiddenControls, + language }) { if (!controls?.length) return null + /* TODO controls are not translated yet, since our translation system doesn't handle nested yaml properties of base.yaml */ + if (language === 'en') return null return (
) } - export default compose( connect( (state, props) => ({