Added backend statistics for dashboard

This commit is contained in:
frikky
2020-05-14 08:48:20 +02:00
parent e3dca4c17e
commit 7c33b91f1f
9 changed files with 297 additions and 53 deletions
+1 -7
View File
@@ -76,14 +76,8 @@ const App = (message, props) => {
if (dataset === false) {
checkLogin()
setDataset(true)
initializeReactGA()
}
})
}})
function initializeReactGA() {
}
console.log(window.location)
if (isLoaded && !isLoggedIn && (!window.location.pathname.startsWith("/login") && (!window.location.pathname.startsWith("/docs") && (!window.location.pathname.startsWith("/adminsetup"))))) {
window.location = "login"
}