Skip to content
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

Change the default value of actionItems to [] | Fixes #1178 #1181

Merged
merged 9 commits into from
Sep 18, 2018

Conversation

matuzalemsteles
Copy link
Member

No description provided.

@@ -200,20 +200,12 @@
* This renders the component's active content.
*/
{template .active}
{@param actionItems: list<?>}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @jbalsas, I'm removing the typing here so that at https://github.com/liferay/clay/pull/1181/files#diff-54445d58e09b53d03b6d0558828824f6R136 can set the default value if not passed.

Since we are typing actionItems above, we can ensure that the values are passed correctly.

@coveralls
Copy link

coveralls commented Sep 12, 2018

Pull Request Test Coverage Report for Build 1176

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.008%) to 81.142%

Files with Coverage Reduction New Missed Lines %
packages/clay-management-toolbar/src/ClayManagementToolbar.soy.js 4 87.35%
Totals Coverage Status
Change from base Build 1171: -0.008%
Covered Lines: 5282
Relevant Lines: 5660

💛 - Coveralls

@carloslancha
Copy link
Contributor

Just started reviewing :)

:octocat: Sent from GH.

Copy link
Contributor

@carloslancha carloslancha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add an example to the demo with no action items? Thx!

@carloslancha carloslancha merged commit 54a7a1c into liferay:develop Sep 18, 2018
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.

4 participants