diff --git a/forms-flow-web/src/components/Form/Item/apiSelectHelper.js b/forms-flow-web/src/components/Form/Item/apiSelectHelper.js index 0465e54240..11b4f95adb 100644 --- a/forms-flow-web/src/components/Form/Item/apiSelectHelper.js +++ b/forms-flow-web/src/components/Form/Item/apiSelectHelper.js @@ -25,8 +25,7 @@ const selectApplicationCreateAPI = ( !isAuthenticated && !isDraftEnabled && !isDraftCreated; let usePublicDraftSubmit = !isAuthenticated && isDraftEnabled && isDraftCreated; - let selection = null; - + let selection = isAuthenticated ? applicationCreate : publicApplicationCreate; if (useDraftSubmission) selection = draftSubmit; if (useApplicationCreate) selection = applicationCreate; if (usePublicApplicationCreate) selection = publicApplicationCreate;