Fixes and improvements in thread managment

This commit is contained in:
DomySh
2022-08-02 19:45:28 +00:00
parent 81b5840375
commit af59ea0ef4
15 changed files with 40 additions and 48 deletions

View File

@@ -19,6 +19,7 @@ function MainLayout({ children }:{ children:any }) {
}
},[location.pathname])
return <>
<AppShell

View File

@@ -71,7 +71,7 @@ export function getapiobject(){
export function HomeRedirector(){
const section = sessionStorage.getItem("home_section")
const path = section?`/${section}`:`/nfqueue`
const path = section?`/${section}`:`/nfregex`
return <Navigate to={path} />
}

View File

@@ -21,7 +21,6 @@ function NFRegex({ children }: { children: any }) {
const [tooltipAddOpened, setTooltipAddOpened] = useState(false);
const [generalStats, setGeneralStats] = useState<GeneralStats>({closed:0, regexes:0, services:0});
const updateInfo = async () => {
await Promise.all([