mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-12 01:24:12 +08:00
@@ -806,6 +806,7 @@ describe("ConnectionModal i18n", () => {
|
||||
|
||||
pageText = textContent(renderer!.toJSON());
|
||||
expect(pageText).toContain("Cluster mode");
|
||||
expect(pageText).toContain("Leave empty when authentication is disabled");
|
||||
expect(pageText).toContain("Redis password");
|
||||
expect(pageText).toContain("Scope");
|
||||
});
|
||||
|
||||
@@ -1513,10 +1513,20 @@ const ConnectionModalStep2: React.FC<ConnectionModalStep2Props> = (props) => {
|
||||
{isRedis && (
|
||||
<div className="gn-conn-f-row">
|
||||
{denseLabel(
|
||||
t("connection.modal.dense.password"),
|
||||
t("connection.modal.field.redisPassword.label"),
|
||||
t("connection.modal.dense.auth"),
|
||||
t("connection.modal.field.username.label"),
|
||||
)}
|
||||
<div className="gn-conn-f-ctrl gn-conn-f-inline">
|
||||
<div className="gn-conn-w gn-conn-w-user">
|
||||
<Form.Item name="user" style={{ marginBottom: 0 }}>
|
||||
<Input
|
||||
{...noAutoCapInputProps}
|
||||
placeholder={t(
|
||||
"connection.modal.field.username.optional_placeholder",
|
||||
)}
|
||||
/>
|
||||
</Form.Item>
|
||||
</div>
|
||||
<div className="gn-conn-w gn-conn-w-pass">
|
||||
<Form.Item name="password" style={{ marginBottom: 0 }}>
|
||||
<Input.Password
|
||||
|
||||
Reference in New Issue
Block a user