mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
SG-680 - OrgDomain.service - replace delete with splice as delete doesn't actually alter array. Duh.
This commit is contained in:
@@ -54,7 +54,7 @@ export class OrgDomainService implements OrgDomainInternalServiceAbstraction {
|
||||
);
|
||||
if (index !== -1) {
|
||||
// existing
|
||||
delete existingOrgDomains[index];
|
||||
existingOrgDomains.splice(index, 1);
|
||||
} else {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(`Unable to delete OrgDomainId: ${orgDomainId}`);
|
||||
|
||||
Reference in New Issue
Block a user