Fixes and improvements in thread managment
This commit is contained in:
@@ -19,6 +19,7 @@ function MainLayout({ children }:{ children:any }) {
|
||||
}
|
||||
},[location.pathname])
|
||||
|
||||
|
||||
return <>
|
||||
|
||||
<AppShell
|
||||
|
||||
@@ -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} />
|
||||
}
|
||||
|
||||
|
||||
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user