π OpenHands: AI-Driven Development
[Fix]: Status icon regression (#8427)
Rohit Malhotra880ec57c78a5
diff --git a/frontend/src/components/features/settings/git-settings/github-token-input.tsx b/frontend/src/components/features/settings/git-settings/github-token-input.tsxindex 58a5f3e01f..bec0f4fffe 100644--- a/frontend/src/components/features/settings/git-settings/github-token-input.tsx+++ b/frontend/src/components/features/settings/git-settings/github-token-input.tsx@@ -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} />)}/>diff --git a/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsx b/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsxindex c95db9ff7e..991ada8942 100644--- a/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsx+++ b/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsx@@ -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} />)}/>