Skip to content
Snippets Groups Projects
Unverified Commit 6c6b4054 authored by GyDi's avatar GyDi Committed by GitHub
Browse files

fix: disable spell check

parent a916d88e
No related branches found
No related tags found
No related merge requests found
...@@ -44,12 +44,12 @@ const ConnectionsPage = () => { ...@@ -44,12 +44,12 @@ const ConnectionsPage = () => {
const filterConn = useMemo(() => { const filterConn = useMemo(() => {
const orderFunc = orderOpts[curOrderOpt]; const orderFunc = orderOpts[curOrderOpt];
const connetions = connData.connections.filter((conn) => const connections = connData.connections.filter((conn) =>
(conn.metadata.host || conn.metadata.destinationIP)?.includes(filterText) (conn.metadata.host || conn.metadata.destinationIP)?.includes(filterText)
); );
if (orderFunc) return orderFunc(connetions); if (orderFunc) return orderFunc(connections);
return connetions; return connections;
}, [connData, filterText, curOrderOpt]); }, [connData, filterText, curOrderOpt]);
useEffect(() => { useEffect(() => {
...@@ -167,6 +167,7 @@ const ConnectionsPage = () => { ...@@ -167,6 +167,7 @@ const ConnectionsPage = () => {
fullWidth fullWidth
size="small" size="small"
autoComplete="off" autoComplete="off"
spellCheck="false"
variant="outlined" variant="outlined"
placeholder={t("Filter conditions")} placeholder={t("Filter conditions")}
value={filterText} value={filterText}
......
...@@ -93,6 +93,7 @@ const LogPage = () => { ...@@ -93,6 +93,7 @@ const LogPage = () => {
fullWidth fullWidth
size="small" size="small"
autoComplete="off" autoComplete="off"
spellCheck="false"
variant="outlined" variant="outlined"
placeholder={t("Filter conditions")} placeholder={t("Filter conditions")}
value={filterText} value={filterText}
......
...@@ -149,6 +149,7 @@ const ProfilePage = () => { ...@@ -149,6 +149,7 @@ const ProfilePage = () => {
value={url} value={url}
variant="outlined" variant="outlined"
autoComplete="off" autoComplete="off"
spellCheck="false"
onChange={(e) => setUrl(e.target.value)} onChange={(e) => setUrl(e.target.value)}
sx={{ input: { py: 0.65, px: 1.25 } }} sx={{ input: { py: 0.65, px: 1.25 } }}
placeholder={t("Profile URL")} placeholder={t("Profile URL")}
......
...@@ -37,6 +37,7 @@ const RulesPage = () => { ...@@ -37,6 +37,7 @@ const RulesPage = () => {
size="small" size="small"
autoComplete="off" autoComplete="off"
variant="outlined" variant="outlined"
spellCheck="false"
placeholder={t("Filter conditions")} placeholder={t("Filter conditions")}
value={filterText} value={filterText}
onChange={(e) => setFilterText(e.target.value)} onChange={(e) => setFilterText(e.target.value)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment