Skip to content

Commit a65c002

Browse files
committed
Add condition
1 parent 9d78817 commit a65c002

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/settings/Rules/RulePageBase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function RulePageBase({titleKey, testID, hash}: RulePageBaseProps) {
170170
title: form?.merchant,
171171
onPress: () => navigateTo(CONST.EXPENSE_RULES.FIELDS.RENAME_MERCHANT, hash),
172172
},
173-
hasPolicyCategories
173+
(form?.category || hasPolicyCategories)
174174
? {
175175
key: 'category',
176176
description: translate('common.category'),

0 commit comments

Comments
 (0)