debian-mirror-gitlab/app/assets/javascripts/boards/models/assignee.js
2017-08-17 22:00:37 +05:30

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;