updates
This commit is contained in:
@@ -77,6 +77,8 @@ const LoginModal: React.FC = () => {
|
||||
navigate('/staff/dashboard', { replace: true });
|
||||
} else if (role === 'accountant') {
|
||||
navigate('/accountant/dashboard', { replace: true });
|
||||
} else if (role === 'housekeeping') {
|
||||
navigate('/housekeeping/dashboard', { replace: true });
|
||||
} else {
|
||||
// Customer or default - go to customer dashboard
|
||||
navigate('/dashboard', { replace: true });
|
||||
|
||||
Reference in New Issue
Block a user