mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
[Fix]: Status icon regression (#8427)
This commit is contained in:
parent
e06aac7521
commit
880ec57c78
@ -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} />
|
||||
)
|
||||
}
|
||||
/>
|
||||
|
||||
@ -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} />
|
||||
)
|
||||
}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user