Skip to content

fix(site): fix parameters' request upon template variables update #11898

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

Merged
merged 4 commits into from
Jan 30, 2024

Conversation

BrunoQuaresma
Copy link
Collaborator

Fix #11870

@BrunoQuaresma BrunoQuaresma requested a review from a team January 29, 2024 17:33
@BrunoQuaresma BrunoQuaresma self-assigned this Jan 29, 2024
@BrunoQuaresma BrunoQuaresma requested review from aslilac and removed request for a team January 29, 2024 17:33
Comment on lines +114 to +120
<Fragment key={k}>
{k === "scope" ? (
<ProvisionerTag key={k} k={k} v={tags[k]} />
<ProvisionerTag k={k} v={tags[k]} />
) : (
<ProvisionerTag
key={k}
k={k}
v={tags[k]}
onDelete={onDelete}
/>
<ProvisionerTag k={k} v={tags[k]} onDelete={onDelete} />
)}
</>
</Fragment>
Copy link
Member

Choose a reason for hiding this comment

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

this doesn't even need to be a fragment, both branches only return one element. I guess it's nice to only specify the key in one place tho.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes!

@BrunoQuaresma BrunoQuaresma changed the title fix(site): fix parameters getting asked on template variables update fix(site): fix parameters' request upon template variables update Jan 30, 2024
@BrunoQuaresma BrunoQuaresma merged commit 4b27c77 into main Jan 30, 2024
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-missing-parameters-all-the-time branch January 30, 2024 11:03
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

constantly prompted for missing variables when entering template editor
2 participants