diff --git a/ui/src/admin/actions/index.js b/ui/src/admin/actions/index.js index 25f83c5e2..c23b71ba4 100644 --- a/ui/src/admin/actions/index.js +++ b/ui/src/admin/actions/index.js @@ -291,7 +291,7 @@ export const updateRetentionPolicyAsync = (database, retentionPolicy, updates) = dispatch(editRetentionPolicy(database, retentionPolicy, updates)) const {data} = await updateRetentionPolicyAJAX(retentionPolicy.links.self, updates) dispatch(publishNotification('success', 'Retention policy updated successfully')) - dispatch(syncRetentionPolicy(database, data)) + dispatch(syncRetentionPolicy(database, retentionPolicy, data)) } catch (error) { dispatch(publishNotification('error', `Failed to update retention policy: ${error.data.message}`)) }