-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fix: Workspace Avatar Error is impossible to dismiss #37874
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
Changes from all commits
33a0c3e
0636836
f806160
800c99c
af8e55a
9aaad39
57f164f
fa1cedc
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 |
|---|---|---|
|
|
@@ -128,7 +128,7 @@ function WorkspaceProfilePage({policy, currencyList = {}, route}: WorkSpaceProfi | |
| type={CONST.ICON_TYPE_WORKSPACE} | ||
| fallbackIcon={Expensicons.FallbackWorkspaceAvatar} | ||
| style={[ | ||
| isSmallScreenWidth ? styles.mb1 : styles.mb3, | ||
| policy?.errorFields?.avatar ?? isSmallScreenWidth ? styles.mb1 : styles.mb3, | ||
|
Contributor
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 only be evalutating
Contributor
Author
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. We should apply style mb1 if there's an error or the device is small screen width. |
||
| isSmallScreenWidth ? styles.mtn17 : styles.mtn20, | ||
| styles.alignItemsStart, | ||
| styles.sectionMenuItemTopDescription, | ||
|
|
@@ -146,7 +146,7 @@ function WorkspaceProfilePage({policy, currencyList = {}, route}: WorkSpaceProfi | |
| originalFileName={policy?.originalFileName} | ||
| disabled={readOnly} | ||
| disabledStyle={styles.cursorDefault} | ||
| errorRowStyles={undefined} | ||
| errorRowStyles={styles.mt3} | ||
| /> | ||
| <OfflineWithFeedback pendingAction={policy?.pendingFields?.generalSettings}> | ||
| <MenuItemWithTopDescription | ||
|
|
||
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.
Have you QA'd this change on both the Initial Settings Page and the Workspace Profile Page?
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.
Yes, we also reviewed and tested Initial Settings Page.