chore: update translations
This commit is contained in:
@@ -219,7 +219,9 @@ function QuickActionItem({
|
|||||||
placeholder={t("hosts.quickActionName")}
|
placeholder={t("hosts.quickActionName")}
|
||||||
value={quickAction.name}
|
value={quickAction.name}
|
||||||
onChange={(e) => onUpdate(e.target.value, quickAction.snippetId)}
|
onChange={(e) => onUpdate(e.target.value, quickAction.snippetId)}
|
||||||
onBlur={(e) => onUpdate(e.target.value.trim(), quickAction.snippetId)}
|
onBlur={(e) =>
|
||||||
|
onUpdate(e.target.value.trim(), quickAction.snippetId)
|
||||||
|
}
|
||||||
className="flex-1"
|
className="flex-1"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -1896,7 +1898,9 @@ export function HostManagerEditor({
|
|||||||
placeholder="proxy.example.com"
|
placeholder="proxy.example.com"
|
||||||
{...field}
|
{...field}
|
||||||
onBlur={(e) => {
|
onBlur={(e) => {
|
||||||
field.onChange(e.target.value.trim());
|
field.onChange(
|
||||||
|
e.target.value.trim(),
|
||||||
|
);
|
||||||
field.onBlur();
|
field.onBlur();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -1949,7 +1953,9 @@ export function HostManagerEditor({
|
|||||||
placeholder={t("hosts.username")}
|
placeholder={t("hosts.username")}
|
||||||
{...field}
|
{...field}
|
||||||
onBlur={(e) => {
|
onBlur={(e) => {
|
||||||
field.onChange(e.target.value.trim());
|
field.onChange(
|
||||||
|
e.target.value.trim(),
|
||||||
|
);
|
||||||
field.onBlur();
|
field.onBlur();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -2833,7 +2839,9 @@ export function HostManagerEditor({
|
|||||||
placeholder="Variable name"
|
placeholder="Variable name"
|
||||||
{...field}
|
{...field}
|
||||||
onBlur={(e) => {
|
onBlur={(e) => {
|
||||||
field.onChange(e.target.value.trim());
|
field.onChange(
|
||||||
|
e.target.value.trim(),
|
||||||
|
);
|
||||||
field.onBlur();
|
field.onBlur();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -2851,7 +2859,9 @@ export function HostManagerEditor({
|
|||||||
placeholder="Value"
|
placeholder="Value"
|
||||||
{...field}
|
{...field}
|
||||||
onBlur={(e) => {
|
onBlur={(e) => {
|
||||||
field.onChange(e.target.value.trim());
|
field.onChange(
|
||||||
|
e.target.value.trim(),
|
||||||
|
);
|
||||||
field.onBlur();
|
field.onBlur();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -3132,7 +3142,9 @@ export function HostManagerEditor({
|
|||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
onBlur={(e) => {
|
onBlur={(e) => {
|
||||||
endpointHostField.onChange(e.target.value.trim());
|
endpointHostField.onChange(
|
||||||
|
e.target.value.trim(),
|
||||||
|
);
|
||||||
endpointHostField.onBlur();
|
endpointHostField.onBlur();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -583,7 +583,6 @@ export function HostManagerViewer({ onEditHost }: SSHManagerHostViewerProps) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const filteredAndSortedHosts = useMemo(() => {
|
const filteredAndSortedHosts = useMemo(() => {
|
||||||
let filtered = hosts;
|
let filtered = hosts;
|
||||||
|
|
||||||
|
|||||||
@@ -386,7 +386,7 @@ export function LeftSidebar({
|
|||||||
case "tags":
|
case "tags":
|
||||||
const tags = Array.isArray(h.tags) ? h.tags : [];
|
const tags = Array.isArray(h.tags) ? h.tags : [];
|
||||||
const hasMatchingTag = tags.some((tag) =>
|
const hasMatchingTag = tags.some((tag) =>
|
||||||
tag.toLowerCase().includes(value)
|
tag.toLowerCase().includes(value),
|
||||||
);
|
);
|
||||||
if (!hasMatchingTag) return false;
|
if (!hasMatchingTag) return false;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user