Skip to content

make grid option not reused#580

Merged
dceejay merged 1 commit into
node-red:masterfrom
node-red-hitachi:fix-grid-option
Apr 12, 2020
Merged

make grid option not reused#580
dceejay merged 1 commit into
node-red:masterfrom
node-red-hitachi:fix-grid-option

Conversation

@HiroyasuNishiyama

Copy link
Copy Markdown
Contributor

This issue (#577) seems to be caused by reuse of a option object for grid creation API of GridStack. GridStack skips column size setting if column option is already set.
This PR attempts to fix the problem.

@dceejay dceejay merged commit 183ab1b into node-red:master Apr 12, 2020
@adumesny

Copy link
Copy Markdown

thanks for heads up. I'll change it to make a copy of passed options (should have done that at least when calling initAll() in 1.x) in future 2.x release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants