[Fix]: Status icon regression (#8427)

This commit is contained in:
Rohit Malhotra 2025-05-13 11:43:35 -04:00 committed by GitHub
parent e06aac7521
commit 880ec57c78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View File

@ -51,10 +51,9 @@ export function GitHubTokenInput({
placeholder="github.com"
defaultValue={githubHostSet || undefined}
startContent={
githubHostSet && githubHostSet.trim() !== "" ? (
githubHostSet &&
githubHostSet.trim() !== "" && (
<KeyStatusIcon testId="gh-set-host-indicator" isSet />
) : (
<KeyStatusIcon testId="gh-set-host-indicator" isSet={false} />
)
}
/>

View File

@ -51,10 +51,9 @@ export function GitLabTokenInput({
placeholder="gitlab.com"
defaultValue={gitlabHostSet || undefined}
startContent={
gitlabHostSet && gitlabHostSet.trim() !== "" ? (
gitlabHostSet &&
gitlabHostSet.trim() !== "" && (
<KeyStatusIcon testId="gl-set-host-indicator" isSet />
) : (
<KeyStatusIcon testId="gl-set-host-indicator" isSet={false} />
)
}
/>