diff --git a/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx b/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx index 23f8572d58b6..c70360bd8478 100644 --- a/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx +++ b/src/pages/workspace/categories/WorkspaceCategoriesSettingsPage.tsx @@ -73,7 +73,9 @@ function WorkspaceCategoriesSettingsPage({policy, route}: WorkspaceCategoriesSet if (!selectedCategory.keyForList || !groupID) { return; } - Policy.setWorkspaceDefaultSpendCategory(policyID, groupID, selectedCategory.keyForList); + if (categoryID !== selectedCategory.keyForList) { + Policy.setWorkspaceDefaultSpendCategory(policyID, groupID, selectedCategory.keyForList); + } setIsSelectorModalVisible(false); };