Add virtual directory support for sidebar

This commit is contained in:
2020-04-09 09:25:58 +02:00
parent 01d244386f
commit 1596fda533
3 changed files with 32 additions and 5 deletions

View File

@ -20,12 +20,26 @@ class User {
this.id = info.userID;
}
/**
* Backward compatibility
*/
get userID() {
return this.id
}
/**
* Get the full name of the user
*/
get fullName() {
return this.firstName + " " + this.lastName;
}
/**
* Check out whether a given user has a virtual directory or not
*/
get hasVirtualDirectory() {
return this.virtualDirectory;
}
}
class UsersList {