diff --git a/services/web/app/views/project/editor/editor.pug b/services/web/app/views/project/editor/editor.pug index 77d13345a0..0092aeda81 100644 --- a/services/web/app/views/project/editor/editor.pug +++ b/services/web/app/views/project/editor/editor.pug @@ -1,3 +1,7 @@ +//- We will be restarting the survey later after some time +//- Until then, the component will not be rendered +- var showCM6SwitchAwaySurvey = false + div.full-size( ng-show="ui.view == 'editor' || ui.view === 'file'" layout="pdf" @@ -12,9 +16,8 @@ div.full-size( custom-toggler-msg-when-open=hasFeature('custom-togglers') ? translate("tooltip_hide_pdf") : false custom-toggler-msg-when-closed=hasFeature('custom-togglers') ? translate("tooltip_show_pdf") : false ) - //- We will be restarting the survey later after some time - //- Will leave the survey component commented until then - //- cm6-switch-away-survey() + if (showCM6SwitchAwaySurvey) + cm6-switch-away-survey() include ./editor-pane