Commit d3f7e156 authored by Clement Ho's avatar Clement Ho

[skip ci] accept both avatar_url and avatarUrl

parent 0e53b116
......@@ -19,12 +19,7 @@ export default class SidebarStore {
processAssigneeData(data) {
if (data.assignees) {
this.assignees = data.assignees.map(a => {
a.avatarUrl = a.avatar_url;
delete a.avatar_url;
return a;
});
this.assignees = data.assignees;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment