diff --git a/packages/bruno-app/src/components/CollectionSettings/index.js b/packages/bruno-app/src/components/CollectionSettings/index.js index d73b075d0..62d774e2b 100644 --- a/packages/bruno-app/src/components/CollectionSettings/index.js +++ b/packages/bruno-app/src/components/CollectionSettings/index.js @@ -60,7 +60,9 @@ const CollectionSettings = ({ collection }) => { const onClientCertSettingsRemove = (config) => { const brunoConfig = cloneDeep(collection.brunoConfig); - brunoConfig.clientCertificates = brunoConfig.clientCertificates.filter((item) => item.domain != config.domain); + brunoConfig.clientCertificates.certs = brunoConfig.clientCertificates.certs.filter( + (item) => item.domain != config.domain + ); dispatch(updateBrunoConfig(brunoConfig, collection.uid)) .then(() => { toast.success('Collection settings updated successfully');