gitlab-org--gitlab-foss/app/assets/javascripts/boards/models/assignee.js
2017-05-05 09:19:58 -05:00

12 lines
275 B
JavaScript

/* eslint-disable no-unused-vars */
class ListAssignee {
constructor(user, defaultAvatar) {
this.id = user.id;
this.name = user.name;
this.username = user.username;
this.avatar = user.avatar_url || defaultAvatar;
}
}
window.ListAssignee = ListAssignee;