- fixed displaying data in table form field;
- updated labels for fileupload fields;
This commit is contained in:
@@ -5,6 +5,7 @@ import { Navigate, Outlet } from 'react-router-dom';
|
||||
import AuthenticationService from '../../service/authentication-service';
|
||||
|
||||
const ProtectedRoute = () => {
|
||||
|
||||
if (!AuthenticationService.wasLoggedIn()) {
|
||||
return (<Navigate to={'/login'} replace/>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user