Skip to content

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