Reflect attendee type with generic icon

This commit is contained in:
Francis Lachapelle committed 2019-07-04 15:10:41 -04:00
1 parent 5f08b25d9c
commit e24082183f
6 files changed
+29 -10

No files matched your search

@@ -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);
};