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

BUG: Do not render campaign toolbar if there are no items in it yet #116

Conversation

bergice
Copy link
Contributor

@bergice bergice commented Aug 31, 2018

No description provided.

@@ -386,6 +386,9 @@ class CampaignAdminList extends Component {
}
);

let items = this.getItems();
Copy link
Contributor

Choose a reason for hiding this comment

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

In this case items can be a const too 🙂

@dhensby dhensby force-pushed the pulls/1/113-conditionally-hide-campaign-toolbar branch from 0f2267f to 7052780 Compare September 1, 2018 19:36
@dhensby
Copy link
Contributor

dhensby commented Sep 1, 2018

Updated, but I think that it's likely the behat test will fail again - I think something isn't quite working right here?

@bergice bergice self-assigned this Sep 3, 2018
@bergice bergice force-pushed the pulls/1/113-conditionally-hide-campaign-toolbar branch from 7052780 to f5869a5 Compare September 10, 2018 09:48
@bergice bergice removed their assignment Sep 10, 2018
@robbieaverill robbieaverill mentioned this pull request Sep 13, 2018
1 task
@lukereative lukereative merged commit bb5c19f into silverstripe:1 Sep 13, 2018
@lukereative lukereative deleted the pulls/1/113-conditionally-hide-campaign-toolbar branch September 13, 2018 03:19
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