diff --git a/android/app/build.gradle b/android/app/build.gradle index 91e7515b7ef1..8414723a233a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -110,8 +110,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1009009405 - versionName "9.0.94-5" + versionCode 1009009406 + versionName "9.0.94-6" // Supported language variants must be declared here to avoid from being removed during the compilation. // This also helps us to not include unnecessary language variants in the APK. resConfigs "en", "es" diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index e2b7484ec408..73331c2a565d 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -44,7 +44,7 @@ CFBundleVersion - 9.0.94.5 + 9.0.94.6 FullStory OrgId diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index adc7c5b002bb..8fdfc8b50e12 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 9.0.94.5 + 9.0.94.6 diff --git a/ios/NotificationServiceExtension/Info.plist b/ios/NotificationServiceExtension/Info.plist index 5d9e244c1b24..1150d364d57b 100644 --- a/ios/NotificationServiceExtension/Info.plist +++ b/ios/NotificationServiceExtension/Info.plist @@ -13,7 +13,7 @@ CFBundleShortVersionString 9.0.94 CFBundleVersion - 9.0.94.5 + 9.0.94.6 NSExtension NSExtensionPointIdentifier diff --git a/package-lock.json b/package-lock.json index 823342cb2f13..1b42578f96b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "new.expensify", - "version": "9.0.94-5", + "version": "9.0.94-6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "new.expensify", - "version": "9.0.94-5", + "version": "9.0.94-6", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 17d3f226024d..b03864bf74b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "9.0.94-5", + "version": "9.0.94-6", "author": "Expensify, Inc.", "homepage": "https://new.expensify.com", "description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.", diff --git a/src/CONST.ts b/src/CONST.ts index 7f56bdd5e370..edfcfcfea425 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -6567,6 +6567,7 @@ const CONST = { ERROR_PERMISSION_DENIED: 'permissionDenied', }, }, + SETUP_SPECIALIST_LOGIN: 'Setup Specialist', } as const; type Country = keyof typeof CONST.ALL_COUNTRIES; diff --git a/src/libs/OptionsListUtils.ts b/src/libs/OptionsListUtils.ts index 55f08aebff91..682ee162b109 100644 --- a/src/libs/OptionsListUtils.ts +++ b/src/libs/OptionsListUtils.ts @@ -1481,7 +1481,14 @@ function getValidOptions( for (let i = 0; i < options.personalDetails.length; i++) { // eslint-disable-next-line rulesdir/prefer-at const detail = options.personalDetails[i]; - if (!detail?.login || !detail.accountID || !!detail?.isOptimisticPersonalDetail || (!includeDomainEmail && Str.isDomainEmail(detail.login))) { + if ( + !detail?.login || + !detail.accountID || + !!detail?.isOptimisticPersonalDetail || + (!includeDomainEmail && Str.isDomainEmail(detail.login)) || + // Exclude the setup specialist from the list of personal details as it's a fallback if guide is not assigned + detail?.login === CONST.SETUP_SPECIALIST_LOGIN + ) { continue; } diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index e120ce1c21fa..03d37e7b68a2 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -3661,6 +3661,7 @@ function prepareOnboardingOnyxData( assignedGuideAccountID = generateAccountID(assignedGuideEmail); Onyx.merge(ONYXKEYS.PERSONAL_DETAILS_LIST, { [assignedGuideAccountID]: { + isOptimisticPersonalDetail: assignedGuideEmail === CONST.SETUP_SPECIALIST_LOGIN, login: assignedGuideEmail, displayName: assignedGuideEmail, },