-
Notifications
You must be signed in to change notification settings - Fork 42
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
feat: Expose credentials prompts for reuse in ADP #2703
base: main
Are you sure you want to change the base?
Conversation
…P/open-ux-tools into feat/2605/enhance-flp-prompts
…P/open-ux-tools into feat/2605/enhance-flp-prompts
|
@@ -76,7 +78,8 @@ export function getCredentialsPrompts<T extends Answers>( | |||
return false; | |||
} | |||
// We may have a previously selected system | |||
const selectedSystem = answers?.[promptNames.systemSelection] as SystemSelectionAnswerType; | |||
const selectedSystem = | |||
(answers?.[promptNames.systemSelection] as SystemSelectionAnswerType) ?? systemSelection; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should never be possible. The credentials prompts are only for use with the system prompt. They are not intended to be used outside of the systems selection flows. You have to have selected a system first.
No description provided.