Optimize TeamCity integration

This commit is contained in:
Tuan Dang
2023-08-01 18:59:27 +07:00
parent a0f08c73af
commit 6e42da9063
2 changed files with 29 additions and 38 deletions
@@ -18,7 +18,7 @@ export default function TeamCityCreateIntegrationPage() {
setServerUrlErrorText("");
if (apiKey.length === 0) {
setApiKeyErrorText("API Token cannot be blank");
setApiKeyErrorText("Access Token cannot be blank");
return;
}
@@ -51,12 +51,12 @@ export default function TeamCityCreateIntegrationPage() {
<Card className="max-w-md rounded-md p-8">
<CardTitle className="text-center">TeamCity Integration</CardTitle>
<FormControl
label="TeamCity API Token"
label="TeamCity Access Token"
errorText={apiKeyErrorText}
isError={apiKeyErrorText !== "" ?? false}
>
<Input
placeholder="API Token"
placeholder="Access Token"
value={apiKey}
onChange={(e) => setApiKey(e.target.value)}
/>