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
Hide Materialfilter PeriodOnly in ContentNode #4361 #4366
Hide Materialfilter PeriodOnly in ContentNode #4361 #4366
Conversation
fixed side effects in computed property
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
@MarcoAllenspach Thanks for the PR. If you implement the changes, then this PR looks good to me and just requires another review by another eCamp core member. |
Co-authored-by: Manuel Meister <news.manuelsworld@gmail.com>
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.
Cool thanks
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.
Otherwise top
@@ -252,6 +258,9 @@ export default { | |||
|
|||
// period Entity for displaying material items within a period (should be null if materialNode is provided) | |||
period: { type: Object, required: false, default: null }, | |||
|
|||
// Disable the filter button activity / period | |||
disablePeriodFilter: { type: Boolean, required: false, default: false }, |
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 component now has an attribute disablePeriodFilter
and a computed periodFilterEnabled
. It took me over 5 minutes to understand why.
Counter suggestion: hidePeriodFilter
says better what it does.
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.
You have right the naming is not really happy
I changed it to hidePeriodFilter
Hey Manuel
I hope thats not ok....Thank you for your help :)
fix #3862