Skip to content

Commit

Permalink
fix: Report fields - Initial value field name is Date for text report…
Browse files Browse the repository at this point in the history
… field.

Signed-off-by: krishna2323 <[email protected]>
  • Loading branch information
Krishna2323 committed Dec 4, 2024
1 parent 08d8072 commit 27aeb7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function ReportFieldsSettingsPage({
style={[styles.moneyRequestMenuItem]}
titleStyle={styles.flex1}
title={WorkspaceReportFieldUtils.getReportFieldInitialValue(reportField)}
description={translate('common.date')}
description={isDateFieldType ? translate('common.date') : translate('common.initialValue')}
shouldShowRightIcon={!isDateFieldType && !hasAccountingConnections}
interactive={!isDateFieldType && !hasAccountingConnections}
onPress={() => Navigation.navigate(ROUTES.WORKSPACE_EDIT_REPORT_FIELDS_INITIAL_VALUE.getRoute(policyID, reportFieldID))}
Expand Down

0 comments on commit 27aeb7f

Please sign in to comment.