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

Fixes #SAT-30369 - Registration - Show info for Pull provider #936

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

stejskalleos
Copy link
Contributor

@stejskalleos stejskalleos commented Dec 19, 2024

No description provided.

@stejskalleos stejskalleos changed the title [WIP] Registration - Show warning for Pull provider Fixes #SAT-30369 - Registration - Show info for Pull provider Jan 8, 2025
@stejskalleos
Copy link
Contributor Author

@adamruzicka ready for review

Copy link
Contributor

@adamruzicka adamruzicka left a comment

Choose a reason for hiding this comment

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

Also redmine check isn't happy

@stejskalleos
Copy link
Contributor Author

aaand it's 🍏

</Alert>
);

function showPullWarning(valueFromParam, value) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: The if branching might look weird at first glance, but it's because of:

valueFromParam can be true, false or undefined
value can be 'true', 'false', '' or undefined.

It was fun.

@adamruzicka adamruzicka merged commit ca0645a into theforeman:master Jan 21, 2025
14 checks passed
@adamruzicka
Copy link
Contributor

Thank you @stejskalleos !

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.

4 participants