mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: update save-questionnaire-progress (#28045)
Closes: https://github.com/fleetdm/confidential/issues/10240 Changes: - Updated `save-questionnaire-progress` to only check the answer to the `what-do-you-manage-mdm` step if the user actually answered that question.
This commit is contained in:
parent
2ab6e7aa6a
commit
6e70d44c61
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ module.exports = {
|
|||
if(currentSelectedBuyingSituation === 'mdm') {
|
||||
// Since the mdm use case question is the only buying situation-specific question where a use case can't
|
||||
// be selected, we'll check the user's previous answers before changing their psyStage
|
||||
if(questionnaireProgress['what-do-you-manage-mdm'].mdmUseCase === 'no-use-case-yet'){
|
||||
if(typeof questionnaireProgress['what-do-you-manage-mdm'] !== 'undefined' && questionnaireProgress['what-do-you-manage-mdm'].mdmUseCase === 'no-use-case-yet'){
|
||||
// Check the user's answer to the have-you-ever-used-fleet question.
|
||||
psychologicalStage = '3 - Intrigued';
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue