This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch fix-bugs in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 2454dd0d6065c1236a5c35090b2381da81a2988f Author: mintsweet <[email protected]> AuthorDate: Wed Dec 27 15:50:48 2023 +1300 fix(config-ui): use input to replace input.password in github --- config-ui/src/plugins/register/github/connection-fields/token.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-ui/src/plugins/register/github/connection-fields/token.tsx b/config-ui/src/plugins/register/github/connection-fields/token.tsx index 13e699645..3f800ec3e 100644 --- a/config-ui/src/plugins/register/github/connection-fields/token.tsx +++ b/config-ui/src/plugins/register/github/connection-fields/token.tsx @@ -154,14 +154,14 @@ export const Token = ({ {tokens.map(({ value, isValid, status, from }, i) => ( <S.Input key={i}> <div className="input"> - <Input.Password + <Input style={{ width: 386 }} placeholder="Token" value={value} onChange={(e) => handleChangeToken(i, e.target.value)} onBlur={() => handleTestToken(i)} /> - <Button size="small" icon={<CloseOutlined />} onClick={() => handleRemoveToken(i)} /> + <Button type="text" icon={<CloseOutlined />} onClick={() => handleRemoveToken(i)} /> <div className="info"> {isValid === false && <span className="error">Invalid</span>} {isValid === true && <span className="success">Valid From: {from}</span>}
