mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use a hard-coded variable to stop rendering the switch away survey component
GitOrigin-RevId: f3dc9db2c8f24aff941c6ea811e5a8f13e1f2960
This commit is contained in:
parent
0cca76557e
commit
efd2669cc7
1 changed files with 6 additions and 3 deletions
|
@ -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(
|
div.full-size(
|
||||||
ng-show="ui.view == 'editor' || ui.view === 'file'"
|
ng-show="ui.view == 'editor' || ui.view === 'file'"
|
||||||
layout="pdf"
|
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-open=hasFeature('custom-togglers') ? translate("tooltip_hide_pdf") : false
|
||||||
custom-toggler-msg-when-closed=hasFeature('custom-togglers') ? translate("tooltip_show_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
|
if (showCM6SwitchAwaySurvey)
|
||||||
//- Will leave the survey component commented until then
|
cm6-switch-away-survey()
|
||||||
//- cm6-switch-away-survey()
|
|
||||||
|
|
||||||
include ./editor-pane
|
include ./editor-pane
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue