-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Viewlet: header gets updated for each view within #45033
Comments
The issue here is |
@isidorn View headers and title area are updated depending on the number of views. They are a pair and to be invoked together. I think moving updateHeaders does it smarty by checking if there is a single view or not. I would suggest to combine them into single method and do the updates? |
@sandy081 thanks for feedback. Feel free to change it if you do not like my approach. |
@isidorn your argument makes sense. New change looks good to me. |
@isidorn the |
Steps to Reproduce:
=> the selectbox is created 4 times for each view within
I find that weird, I would only expect the header of a viewlet to change when there is a transition from 1 view to many views or vice versa. And I would possibly not expect this on first creation time of the view where its already known how many views are being added.
The text was updated successfully, but these errors were encountered: