-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: separate pending fields in workspace general settings #47312
Changes from 5 commits
18f1683
1eecd00
0572f18
c973f4f
dd278e8
ac47c28
f32d9ce
abf704d
eac95a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1555,7 +1555,7 @@ type Policy = OnyxCommon.OnyxValueWithOfflineFeedback< | |
/** Workspace account ID configured for Expensify Card */ | ||
workspaceAccountID?: number; | ||
} & Partial<PendingJoinRequestPolicy>, | ||
'generalSettings' | 'addWorkspaceRoom' | 'employeeList' | keyof ACHAccount | keyof Attributes | ||
'addWorkspaceRoom' | 'employeeList' | keyof ACHAccount | keyof Attributes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add name, outputCurrency, address here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @DylanDylann we don't need as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahh see 😄 |
||
>; | ||
|
||
/** Stages of policy connection sync */ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dominictb
--> Both the name and the currency should be greyed out
In this case, the pendingFields.name is overwritten with
null
value. We can use undefined to avoid overwritingScreen.Recording.2024-08-21.at.16.00.27.mov