Reflect attendee type with generic icon

This commit is contained in:
Francis Lachapelle
2019-07-04 15:10:41 -04:00
parent 5f08b25d9c
commit e24082183f
6 changed files with 29 additions and 10 deletions

View File

@@ -337,6 +337,16 @@
form.$setDirty();
};
this.defaultIconForAttendee = function (attendee) {
if (attendee.isGroup) {
return 'group';
} else if (attendee.isResource) {
return 'meeting_room';
} else {
return 'person';
}
};
this.nextSlot = function () {
findSlot(1);
};