Merge remote-tracking branch 'origin/master'

master
Max Ehrlicher-Schmidt 4 years ago
commit 31ed6592f2

@ -33,9 +33,9 @@ export class AuthService {
if (value === null){ if (value === null){
value = new AuthUser(); value = new AuthUser();
} }
if (value.user != undefined){ if (value.user !== undefined){
let roles = []; let roles = [];
if (value.user.roles.length !== 0 ){ if (value.user.roles !== undefined ){
for (let role of value.user.roles){ for (let role of value.user.roles){
roles.push(role.name); roles.push(role.name);

Loading…
Cancel
Save