-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ui] Fixes dynamic options #1050
Conversation
Signed-off-by: Christoph Weitkamp <[email protected]>
Signed-off-by: Christoph Weitkamp <[email protected]>
Fix #1040 Signed-off-by: Laurent Garnier <[email protected]>
@cweitkamp : can you please review and check that your change has no other impact. |
This reverts commit 9e16bc1.
@lolodomo Here you are: lolodomo#2 |
Signed-off-by: Christoph Weitkamp <[email protected]>
Signed-off-by: Christoph Weitkamp <[email protected]>
Use fragment.options if own options are empty -> Added unit tests
I merged your tests but did not test them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
The only thing I worry about is: What happens if the original fragment has options and the new fragment to be merged with too? So it is not really a "merge" but more or less a "use own unless null or empty than others".
Yes, that's true. But I don't know in practice how it could occur. |
Signed-off-by: Christoph Weitkamp <[email protected]>
* Fix dynamic options in UI * Added unit tests Fixes openhab#1040 Also-by: Christoph Weitkamp <[email protected]> Signed-off-by: Laurent Garnier <[email protected]> GitOrigin-RevId: 7b49f27
Fix #1040
Signed-off-by: Laurent Garnier [email protected]