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

Fix Jira render logic #531

Merged
merged 4 commits into from
Jan 9, 2024
Merged

Fix Jira render logic #531

merged 4 commits into from
Jan 9, 2024

Conversation

jeffdaley
Copy link
Contributor

Fixes a bug causing inactive projects' Jira issues not to load. Also improves header padding when the Jira widget is not present.

@jeffdaley jeffdaley marked this pull request as ready for review December 22, 2023 19:18
@jeffdaley jeffdaley requested a review from a team as a code owner December 22, 2023 19:18
{{! Jira }}
<div class="mt-10 flex w-full max-w-3xl">
<Project::JiraWidget
{{did-insert this.maybeLoadJiraInfo}}
Copy link
Contributor Author

@jeffdaley jeffdaley Dec 22, 2023

Choose a reason for hiding this comment

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

This was not getting called because of JiraWidget's previous internal show/hide logic. The element with attributes wasn't being rendered so this did-insert went nowhere, causing the (not @isLoading) check to incorrectly fail.

@jeffdaley jeffdaley merged commit e752e85 into main Jan 9, 2024
2 checks passed
@jeffdaley jeffdaley deleted the jeffdaley/jira-loading-logic branch January 9, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants