-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(available_element_definitions): Do not mutate element_definitions
`Page#available_element_definitions` returns elements still available for that page. Taking unique and limited elements into account. `Page#element_definitions` always returns the collections of defined elements, not matter of they have been used or not. Due to referencing the same instance variable and in memory object `available_element_definitions` was mutating the `element_definitions` object.
- Loading branch information
Showing
2 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters