Skip to content

Don't show edit request button if config.hideNewRequestButton is true#1024

Merged
ssalinas merged 3 commits into
masterfrom
requests-page-improvements
May 6, 2016
Merged

Don't show edit request button if config.hideNewRequestButton is true#1024
ssalinas merged 3 commits into
masterfrom
requests-page-improvements

Conversation

@Calvinp

@Calvinp Calvinp commented May 4, 2016

Copy link
Copy Markdown
Contributor

Fix the bug that showed edit request buttons even if config.hideNewRequestButton was true.

@ssalinas

ssalinas commented May 5, 2016

Copy link
Copy Markdown
Contributor

👍 didn't realize we never had the config object available for those templates

requests: pausedRequests
haveRequests: pausedRequests.length > 0
requestsSubFilter: ''
hideNewRequestButton: config.hideNewRequestButton

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This will cause a merge conflict with Dashboard Page Improvements. To resolve, simply keep both of the added lines.

@ssalinas ssalinas modified the milestone: 0.6.0 May 6, 2016
@ssalinas

ssalinas commented May 6, 2016

Copy link
Copy Markdown
Contributor

Thanks for fixing merge conflict, this looks good 👍

@ssalinas ssalinas merged commit f70a5d4 into master May 6, 2016
@ssalinas ssalinas deleted the requests-page-improvements branch May 6, 2016 16:59
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.

2 participants