-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fix save button moving for ports without PoE support #2782
Fix save button moving for ports without PoE support #2782
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 5.8.x #2782 +/- ##
=======================================
Coverage 57.03% 57.03%
=======================================
Files 567 567
Lines 41280 41280
=======================================
Hits 23544 23544
Misses 17736 17736 ☔ View full report in Codecov by Sentry. |
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.
Yup, looks good, but should be based on the 5.8.x
branch
If poe column is active, which means some interfaces will have a poe state dropdown option, the lines that do not have a poe state dropdown still needs to occupy the space, else the save button will shift to the left and not be lined up with all the other save buttons.
This was probably left over from basing the Poe dropdown on the vlan dropdown
d8fbf85
to
a9aa56c
Compare
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.
rebased on 5.8.x myself, since you're on vacation :)
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Fixes problem that occurs if some ports support PoE and some dont. The lines that do not suppot PoE will not have a dropdown, so the space will not be occupied by anything. This causes the save button to move to the left, as seen below.
This PR makes it so the space is always occupied if the PoE column is active.
Also remove random vlan tag that shouldnt be there