diff --git a/packages/ketcher-core/src/domain/entities/sgroup.ts b/packages/ketcher-core/src/domain/entities/sgroup.ts index c826b5d2f6..1c1cd08ace 100644 --- a/packages/ketcher-core/src/domain/entities/sgroup.ts +++ b/packages/ketcher-core/src/domain/entities/sgroup.ts @@ -228,7 +228,7 @@ export class SGroup { const attachPointId = this.getAttAtomId(struct) const neighbours = struct.atomGetNeighbors(attachPointId) - return !!neighbours?.every(({ aid }) => this.atoms.includes(aid)) + return !neighbours?.every(({ aid }) => this.atoms.includes(aid)) } static getOffset(sgroup: SGroup): null | Vec2 {