posit-dev / publisher

MIT License
6 stars 1 forks source link

Only show select existing text if options exist #2339

Closed dotNomad closed 1 month ago

dotNomad commented 1 month ago

This PR corrects the details text for two of our multiStepInputs to only show the "pick one of the existing..." text when actual options exist to select.

Preview ![CleanShot 2024-10-01 at 16 39 03@2x](https://github.com/user-attachments/assets/bd7f706e-e7e7-4a22-809f-1a3237c357e8) ![CleanShot 2024-10-01 at 16 39 20@2x](https://github.com/user-attachments/assets/dc1e24c1-0247-4ced-b286-82d4ddbd6ae4)

Intent

Resolves #2241

Type of Change

kgartland-rstudio commented 1 month ago

Looks good, verified existing configurations messaging only appears when there are existing configs.

Tested in Windows, MacOS, Linux