- fixed JS error related to non existent ndg prop;

This commit is contained in:
Vitalii Kiiko
2026-02-16 15:50:07 +01:00
parent a29f88d252
commit abfcb1168e
3 changed files with 22 additions and 22 deletions

View File

@@ -8,11 +8,11 @@ export class NetworkService {
if (status === 500) {
logMsgWithSentry(endpoint, status, resp);
} else if (status === 403) {
storeSet('token', '');
/*storeSet('token', '');
const { pathname } = window.location;
if (!['/login', '/registration', '/loginadmin', '/reset-password-admin', '/confidi', '/reset-password'].includes(pathname)) {
window.location.replace('/login');
}
}*/
}
}