Skip to content

Commit

Permalink
Validate cases after adding cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
tealefristoe committed Aug 1, 2024
1 parent 8cc89cd commit 361e7c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v3/src/models/data/data-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,7 @@ export const DataSet = V2Model.named("DataSet").props({
}
})

self.validateCases()
// invalidate the affected attributes
attrs.forEach(attrId => self.getAttribute(attrId)?.incChangeCount())
return ids
Expand Down

0 comments on commit 361e7c8

Please sign in to comment.