Use a hard-coded variable to stop rendering the switch away survey component

GitOrigin-RevId: f3dc9db2c8f24aff941c6ea811e5a8f13e1f2960
This commit is contained in:
M Fahru 2022-11-08 09:36:11 -07:00 committed by Copybot
parent 0cca76557e
commit efd2669cc7

View file

@ -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