-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
[mainui] support staticIcon parameter in sitemap configuration #1999
Conversation
Job #1144: Bundle Size — 15.76MiB (~-0.01%).Metrics (no changes)
Total size by type (2 changes)
|
@mherwege : please check that it is compliant with the change that was finally merged. |
@lolodomo It should now be compliant with the latest syntax. |
Signed-off-by: Mark Herwege <[email protected]>
Signed-off-by: Mark Herwege <[email protected]>
4774349
to
1ccbf5b
Compare
Signed-off-by: Mark Herwege <[email protected]>
Signed-off-by: Mark Herwege <[email protected]>
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.
Thanks @mherwege - the additional unit tests are appreciated.
One remark below, otherwise LGTM:
} else if (key === 'staticIcon') { | ||
} else if (key === 'icon') { |
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.
This will do nothing in case of key === 'staticIcon'
(empty block); is it intended? What's the point of it if so?
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.
Thanks for noticing, must have thought I was using a Java case statement.
Signed-off-by: Mark Herwege <[email protected]>
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.
Thanks, all good now!
Related to openhab/openhab-core#3735
I will test when openhab/openhab-core#3735 has been merged.