Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function AuthScreensInitHandler() {
App.reconnectApp(initialLastUpdateIDAppliedToClient);
}

App.setUpPoliciesAndNavigate(session, introSelected, activePolicyID, isSelfTourViewed, hasActiveAdminPolicies);
App.setUpPoliciesAndNavigate(session, introSelected, activePolicyID, isSelfTourViewed, betas, hasActiveAdminPolicies);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use hydrated betas when setting up transition workspace

This call runs inside a mount-only effect (useEffect(..., [])), so betas is whatever value existed on the first render. After removing the ReportUtils fallback (betas ?? allBetas), a first-render undefined now propagates through setUpPoliciesAndNavigate() into createWorkspace() for the exitTo=workspace/new transition flow, which can disable beta-gated onboarding behavior (for example SUGGESTED_FOLLOWUPS) even for users who actually have that beta once Onyx finishes hydrating.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a false positive. Previously, setUpPoliciesAndNavigate relied on the allBetas fallback in prepareOnboardingOnyxData, which was also populated asynchronously via Onyx.connectWithoutView.

cc: @DylanDylann


Download.clearDownloads();

Expand Down
10 changes: 2 additions & 8 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1029,12 +1029,6 @@
environment = env;
});

let allBetas: OnyxEntry<Beta[]>;
Onyx.connectWithoutView({
key: ONYXKEYS.BETAS,
callback: (value) => (allBetas = value),
});

// This cache is used to save parse result of report action html message into text
// to prevent unnecessary parsing when the report action is not changed/modified.
// Example case: when we need to get a report name of a thread which is dependent on a report action message.
Expand All @@ -1059,7 +1053,7 @@
};

let conciergeReportIDOnyxConnect: OnyxEntry<string>;
Onyx.connect({

Check warning on line 1056 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.CONCIERGE_REPORT_ID,
callback: (value) => {
conciergeReportIDOnyxConnect = value;
Expand All @@ -1067,7 +1061,7 @@
});

const defaultAvatarBuildingIconTestID = 'SvgDefaultAvatarBuilding Icon';
Onyx.connect({

Check warning on line 1064 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.SESSION,
callback: (value) => {
// When signed out, val is undefined
Expand All @@ -1085,7 +1079,7 @@
let allPersonalDetails: OnyxEntry<PersonalDetailsList>;
let allPersonalDetailLogins: string[];
let currentUserPersonalDetails: OnyxEntry<PersonalDetails>;
Onyx.connect({

Check warning on line 1082 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.PERSONAL_DETAILS_LIST,
callback: (value) => {
if (deprecatedCurrentUserAccountID) {
Expand All @@ -1097,7 +1091,7 @@
});

let allReportsDraft: OnyxCollection<Report>;
Onyx.connect({

Check warning on line 1094 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.REPORT_DRAFT,
waitForCollectionCallback: true,
callback: (value) => (allReportsDraft = value),
Expand All @@ -1105,7 +1099,7 @@

let allPolicies: OnyxCollection<Policy>;
let policiesArray: Policy[] = [];
Onyx.connect({

Check warning on line 1102 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.POLICY,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -1115,7 +1109,7 @@
});

let allPolicyDrafts: OnyxCollection<Policy>;
Onyx.connect({

Check warning on line 1112 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.POLICY_DRAFTS,
waitForCollectionCallback: true,
callback: (value) => (allPolicyDrafts = value),
Expand All @@ -1123,7 +1117,7 @@

let allReports: OnyxCollection<Report>;
let reportsByPolicyID: ReportByPolicyMap;
Onyx.connect({

Check warning on line 1120 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.REPORT,
waitForCollectionCallback: true,
callback: (value) => {
Expand Down Expand Up @@ -1159,14 +1153,14 @@
});

let betaConfiguration: OnyxEntry<BetaConfiguration> = {};
Onyx.connect({

Check warning on line 1156 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.BETA_CONFIGURATION,
callback: (value) => (betaConfiguration = value ?? {}),
});

let deprecatedAllTransactions: OnyxCollection<Transaction> = {};
let deprecatedReportsTransactions: Record<string, Transaction[]> = {};
Onyx.connect({

Check warning on line 1163 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.TRANSACTION,
waitForCollectionCallback: true,
callback: (value) => {
Expand All @@ -1192,7 +1186,7 @@
});

let allReportActions: OnyxCollection<ReportActions>;
Onyx.connect({

Check warning on line 1189 in src/libs/ReportUtils.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
key: ONYXKEYS.COLLECTION.REPORT_ACTIONS,
waitForCollectionCallback: true,
callback: (actions) => {
Expand Down Expand Up @@ -11758,7 +11752,7 @@
isInvitedAccountant?: boolean;
onboardingPurposeSelected?: OnboardingPurpose;
isSelfTourViewed?: boolean;
betas?: OnyxEntry<Beta[]>;
betas: OnyxEntry<Beta[]>;
};

function getBespokeWelcomeMessage(companySize: OnboardingCompanySize | undefined, userReportedIntegration?: OnboardingAccounting): string {
Expand Down Expand Up @@ -11828,7 +11822,7 @@
// Only the MANAGE_TEAM onboarding action uses the #admins room (with a guide); TRACK_WORKSPACE uses Concierge. Excludes emails that have a '+'.
const shouldPostTasksInAdminsRoom = isPostingTasksInAdminsRoom(engagementChoice);
// When posting to admins room and the user is in the suggestedFollowups beta, we skip tasks in favor of backend-generated followups.
const shouldUseFollowupsInsteadOfTasks = shouldPostTasksInAdminsRoom && Permissions.isBetaEnabled(CONST.BETAS.SUGGESTED_FOLLOWUPS, betas ?? allBetas, betaConfiguration);
const shouldUseFollowupsInsteadOfTasks = shouldPostTasksInAdminsRoom && Permissions.isBetaEnabled(CONST.BETAS.SUGGESTED_FOLLOWUPS, betas, betaConfiguration);
const adminsChatReport = allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${adminsChatReportID}`];
const targetChatReport = shouldPostTasksInAdminsRoom
? (adminsChatReport ?? {reportID: adminsChatReportID, policyID: onboardingPolicyID})
Expand Down
8 changes: 4 additions & 4 deletions src/libs/actions/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,7 @@ type CreateWorkspaceWithPolicyDraftParams = {
currentUserEmailParam: string;
shouldCreateControlPolicy?: boolean;
type?: PolicyType;
// TODO: Remove optional (?) once allBetas Onyx.connect is removed (https://github.com/Expensify/App/issues/66417)
betas?: OnyxEntry<OnyxTypes.Beta[]>;
betas: OnyxEntry<OnyxTypes.Beta[]>;
hasActiveAdminPolicies: boolean;
};

Expand Down Expand Up @@ -686,8 +685,7 @@ type SavePolicyDraftByNewWorkspaceParams = {
allReportsParam: OnyxCollection<OnyxTypes.Report>;
shouldCreateControlPolicy?: boolean;
type?: PolicyType;
// TODO: Remove optional (?) once allBetas Onyx.connect is removed (https://github.com/Expensify/App/issues/66417)
betas?: OnyxEntry<OnyxTypes.Beta[]>;
betas: OnyxEntry<OnyxTypes.Beta[]>;
hasActiveAdminPolicies: boolean;
};

Expand Down Expand Up @@ -755,6 +753,7 @@ function setUpPoliciesAndNavigate(
introSelected: OnyxEntry<OnyxTypes.IntroSelected>,
activePolicyID: string | undefined,
isSelfTourViewed: boolean | undefined,
betas: OnyxEntry<OnyxTypes.Beta[]>,
hasActiveAdminPolicies: boolean,
) {
const currentUrl = getCurrentUrl();
Expand Down Expand Up @@ -787,6 +786,7 @@ function setUpPoliciesAndNavigate(
currentUserAccountIDParam: currentSessionData.accountID ?? CONST.DEFAULT_NUMBER_ID,
currentUserEmailParam: currentSessionData.email ?? '',
isSelfTourViewed,
betas,
hasActiveAdminPolicies,
});
return;
Expand Down
3 changes: 1 addition & 2 deletions src/libs/actions/Policy/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ type BuildPolicyDataOptions = {
type?: typeof CONST.POLICY.TYPE.TEAM | typeof CONST.POLICY.TYPE.CORPORATE;
// TODO: Make it required once we complete refactoring the buildPolicyData function to use isSelfTourViewed. Refactor issue: https://github.com/Expensify/App/issues/66424
isSelfTourViewed?: boolean;
// TODO: Remove optional (?) once allBetas Onyx.connect is removed (https://github.com/Expensify/App/issues/66417)
betas?: OnyxEntry<Beta[]>;
betas: OnyxEntry<Beta[]>;
};

// TODO: Remove this type once we complete refactoring the buildPolicyData function to use isSelfTourViewed. Refactor issue: https://github.com/Expensify/App/issues/66424
Expand Down
13 changes: 6 additions & 7 deletions src/libs/actions/Report/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ type OpenReportActionParams = {
/** Whether the user has seen the self tour */
// TODO: This will be required eventually. Refactor issue: https://github.com/Expensify/App/issues/66424
isSelfTourViewed?: boolean;
/** Beta features list. TODO: Remove optional (?) once buildPolicyData is updated (https://github.com/Expensify/App/issues/66417) */
betas?: OnyxEntry<Beta[]>;

/** Beta features list */
betas: OnyxEntry<Beta[]>;
};

type PregeneratedResponseParams = {
Expand Down Expand Up @@ -1661,9 +1662,8 @@ function createGroupChat(
currentUserLogin: string,
introSelected: OnyxEntry<IntroSelected>,
isSelfTourViewed: boolean | undefined,
betas: OnyxEntry<Beta[]>,
avatar?: File | CustomRNImageManipulatorResult,
// TODO: Remove optional (?) once buildPolicyData is updated (https://github.com/Expensify/App/issues/66417)
betas?: OnyxEntry<Beta[]>,
) {
const optimisticReport = {
reportName: CONST.REPORT.DEFAULT_REPORT_NAME,
Expand Down Expand Up @@ -2003,16 +2003,15 @@ function navigateToAndCreateGroupChat(
optimisticReportID: string,
introSelected: OnyxEntry<IntroSelected>,
isSelfTourViewed: boolean | undefined,
betas: OnyxEntry<Beta[]>,
avatarUri?: string,
avatarFile?: File | CustomRNImageManipulatorResult | undefined,
// TODO: Remove optional (?) once buildPolicyData is updated (https://github.com/Expensify/App/issues/66417)
betas?: OnyxEntry<Beta[]>,
) {
const participantAccountIDs = PersonalDetailsUtils.getAccountIDsByLogins(userLogins);

// If we are creating a group chat then participantAccountIDs is expected to contain currentUserAccountID
const newChat = buildOptimisticGroupChatReport(participantAccountIDs, reportName, avatarUri ?? '', optimisticReportID, CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN);
createGroupChat(newChat.reportID, userLogins, newChat, currentUserLogin, introSelected, isSelfTourViewed, avatarFile, betas);
createGroupChat(newChat.reportID, userLogins, newChat, currentUserLogin, introSelected, isSelfTourViewed, betas, avatarFile);

navigateToReport(newChat.reportID);
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/NewChatConfirmPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ function NewChatConfirmPage() {
optimisticReportID.current,
introSelected,
isSelfTourViewed,
betas,
newGroupDraft.avatarUri ?? '',
avatarFile,
betas,
);
}, [newGroupDraft, avatarFile, personalData.login, introSelected, betas, isSelfTourViewed]);

Expand Down
2 changes: 1 addition & 1 deletion src/pages/inbox/report/PureReportActionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ type PureReportActionItemProps = {
introSelected?: OnyxEntry<OnyxTypes.IntroSelected>;

/** Beta features list */
betas?: OnyxEntry<OnyxTypes.Beta[]>;
betas: OnyxEntry<OnyxTypes.Beta[]>;

/** All transaction draft IDs */
draftTransactionIDs: string[] | undefined;
Expand Down
10 changes: 9 additions & 1 deletion src/pages/inbox/report/ReportActionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,15 @@ import PureReportActionItem from './PureReportActionItem';

type ReportActionItemProps = Omit<
PureReportActionItemProps,
'taskReport' | 'linkedReport' | 'iouReportOfLinkedReport' | 'currentUserAccountID' | 'currentUserEmail' | 'personalPolicyID' | 'draftTransactionIDs' | 'userBillingGracePeriodEnds'
| 'taskReport'
| 'linkedReport'
| 'iouReportOfLinkedReport'
| 'currentUserAccountID'
| 'currentUserEmail'
| 'personalPolicyID'
| 'draftTransactionIDs'
| 'userBillingGracePeriodEnds'
| 'betas'
> & {
/** Whether to show the draft message or not */
shouldShowDraftMessage?: boolean;
Expand Down
23 changes: 23 additions & 0 deletions tests/actions/IOUTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6945,6 +6945,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
return waitForBatchedUpdates();
Expand Down Expand Up @@ -7105,6 +7106,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
return waitForBatchedUpdates();
Expand Down Expand Up @@ -7676,6 +7678,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
return waitForBatchedUpdates();
Expand Down Expand Up @@ -8179,6 +8182,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -8278,6 +8282,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -8400,6 +8405,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -8536,6 +8542,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -8841,6 +8848,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -9012,6 +9020,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -9281,6 +9290,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -9380,6 +9390,7 @@ describe('actions/IOU', () => {
openReport({
reportID: thread.reportID,
introSelected: TEST_INTRO_SELECTED,
betas: undefined,
participantLoginList: userLogins,
newReportObject: thread,
parentReportActionID: createIOUAction?.reportActionID,
Expand Down Expand Up @@ -9679,6 +9690,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});

Expand Down Expand Up @@ -9826,6 +9838,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});

Expand Down Expand Up @@ -9907,6 +9920,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
return waitForBatchedUpdates();
Expand Down Expand Up @@ -10176,6 +10190,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
return waitForBatchedUpdates();
Expand Down Expand Up @@ -10395,6 +10410,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
return waitForBatchedUpdates()
Expand Down Expand Up @@ -10623,6 +10639,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});

Expand Down Expand Up @@ -13542,6 +13559,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
await waitForBatchedUpdates();
Expand Down Expand Up @@ -13644,6 +13662,7 @@ describe('actions/IOU', () => {
currentUserEmailParam: CARLOS_EMAIL,
activePolicyID: '123',
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});
await waitForBatchedUpdates();
Expand Down Expand Up @@ -14089,6 +14108,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});

Expand Down Expand Up @@ -14264,6 +14284,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: RORY_ACCOUNT_ID,
currentUserEmailParam: RORY_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});

Expand Down Expand Up @@ -14443,6 +14464,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});

Expand Down Expand Up @@ -14631,6 +14653,7 @@ describe('actions/IOU', () => {
currentUserAccountIDParam: CARLOS_ACCOUNT_ID,
currentUserEmailParam: CARLOS_EMAIL,
isSelfTourViewed: false,
betas: undefined,
hasActiveAdminPolicies: false,
});

Expand Down
2 changes: 2 additions & 0 deletions tests/actions/IOUTest/DuplicateTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,15 @@ describe('actions/Duplicate', () => {
openReport({
reportID: transactionThreadReport1.reportID,
introSelected: undefined,
betas: undefined,
participantLoginList: userLogins,
newReportObject: transactionThreadReport1,
parentReportActionID: iouAction1?.reportActionID,
});
openReport({
reportID: transactionThreadReport2.reportID,
introSelected: undefined,
betas: undefined,
participantLoginList: userLogins,
newReportObject: transactionThreadReport1,
parentReportActionID: iouAction2?.reportActionID,
Expand Down
Loading
Loading