Skip to content
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

ui: fix AllocationRow for job without action #19505

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented Dec 15, 2023

The allocation table header sometimes conditionally renders the Actions table column, but the allocation row would render it unconditionally, resulting in broken tables when rendering allocations for jobs without actions, where rows had more columns than the header.

Also fix the conditional class for the deployments allocation table to read length from the right value.

Before:

image image image

After:

image image image

The allocation table header sometimes conditionally renders the
`Actions` table column, but the allocation row would render it
unconditionally, resulting in broken tables when rendering allocations
for jobs without actions, where rows had more columns than the header.

Also fix the conditional class for the deployments allocation table to
read `length` from the right value.
@lgfa29 lgfa29 added theme/ui backport/1.7.x backport to 1.7.x release line labels Dec 15, 2023
@lgfa29 lgfa29 requested a review from philrenaud December 15, 2023 22:46
Copy link

github-actions bot commented Dec 15, 2023

Ember Test Audit comparison

main 27ba15e change
passes 1540 1540 0
failures 0 0 0
flaky 0 0 0
duration 10m 46s 772ms 10m 46s 368ms -404ms

Copy link
Contributor

@philrenaud philrenaud left a comment

Choose a reason for hiding this comment

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

Thank you!

@lgfa29 lgfa29 merged commit dfce76e into main Dec 18, 2023
15 checks passed
@lgfa29 lgfa29 deleted the b-fix-alloc-table-without-action branch December 18, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.7.x backport to 1.7.x release line theme/ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants