From 12dce9902dc791a70b44b89c67e380402c6d019f Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 28 Jan 2023 22:12:25 -0600 Subject: tweak route matching regex --- src/web/src/components/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web') diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js index 74ae2cd8..77365e1d 100644 --- a/src/web/src/components/App.js +++ b/src/web/src/components/App.js @@ -357,7 +357,7 @@ class App extends Component { ) }/> - /\/(searches\/?|browse|users|chat|rooms|uploads|downloads|system\/)/ + /\/(searches\/?|browse|users|chat|rooms|uploads|downloads|system|system\/(info|options|shares|data|logs))$/ .test(props.location.pathname) ? <> : } /> } -- cgit v1.2.3 From 63efcf9a65baf5b15a1e36bd9fcfa1435f27ad71 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 28 Jan 2023 22:17:28 -0600 Subject: disable lint rule --- src/web/src/components/App.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/web') diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js index 77365e1d..0530c903 100644 --- a/src/web/src/components/App.js +++ b/src/web/src/components/App.js @@ -357,6 +357,7 @@ class App extends Component { ) }/> + // eslint-disable-next-line max-len /\/(searches\/?|browse|users|chat|rooms|uploads|downloads|system|system\/(info|options|shares|data|logs))$/ .test(props.location.pathname) ? <> : } /> -- cgit v1.2.3