Skip to content

Commit

Permalink
#1990 - hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Permiakov committed Feb 16, 2023
1 parent 3bed375 commit 7ed9702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ketcher-core/src/domain/entities/sgroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7ed9702

Please sign in to comment.