Regression: Custom project templates pagination is broken from second page visited
Summary
Previously fixed bug returns: UI is broken when selecting instance templates ... (#456061 - closed)
Note: needs to be backported to %17.5 AND also should be affecting the instance tab.
Steps to reproduce
- Navigate to http://gdk.test:3000/flightjs and create a New subgroup
- Navigate to the sub group and create a project under the subgroup
- Navigate to http://gdk.test:3000/groups/flightjs/-/edit#js-custom-project-templates-settings
- Under Custom project templates select the subgroup created in step 1
- Follow step 1-4 for at least one more group.
- Navigate to
http://gdk.test:3000/projects/new#create_from_template- Replace
http://gdk.test:3000with your instance root URL.
- Replace
- Click on
Group - The pagination on the Group tab should work as expected.
From the MR that fixed this: !147534 (merged)
Example Project
Any
What is the current bug behavior?
Second page visited does not show any layout, broken CSS and only the content is showing.
What is the expected correct behavior?
Page renders correctly.
Relevant logs and/or screenshots
Possible fixes
Seems like it might be missing a .pagination for some reason.
Or the listeners are set before the content arrives. (event delegation?)
Edited by André Luís
