mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Use a hard-coded variable to stop rendering the switch away survey component
GitOrigin-RevId: f3dc9db2c8f24aff941c6ea811e5a8f13e1f2960
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user