Skip to content
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

Add proper offline state handling for XeroOrganizationConfigurationPage #41983

Prev Previous commit
Next Next commit
fix XeroOrganization bug
SzymczakJ committed May 13, 2024
commit 0cea6dd5c57546db3e6785853f4ae37dc7cd302d
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ function XeroOrganizationConfigurationPage({
<OfflineWithFeedback
errors={ErrorUtils.getLatestErrorField(xeroConfig ?? {}, CONST.XERO_CONFIG.TENANT_ID)}
errorRowStyles={[styles.ph5, styles.mt2]}
onClose={() => Policy.clearXeroErrorField(policyID, CONST.XERO_CONFIG.IMPORT_TAX_RATES)}
onClose={() => Policy.clearXeroErrorField(policyID, CONST.XERO_CONFIG.TENANT_ID)}
>
<Text style={[styles.ph5, styles.pb5]}>{translate('workspace.xero.organizationDescription')}</Text>
<SelectionList