Fix tracking
This commit is contained in:
parent
bd2cdfa243
commit
d9f1678931
|
@ -7,13 +7,14 @@ export default class Assignment extends Component {
|
|||
@service siteSettings;
|
||||
@service taskActions;
|
||||
|
||||
@tracked assignee =
|
||||
this.args.assignment.username || this.args.assignment.group_name;
|
||||
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
}
|
||||
|
||||
get assignee() {
|
||||
return this.args.assignment.username || this.args.assignment.group_name;
|
||||
}
|
||||
|
||||
get status() {
|
||||
return this.args.assignment.status || this.assignStatuses[0];
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ export default class TopicAssignments extends Component {
|
|||
return { id: this.TOPIC_ID, name: "Topic" };
|
||||
} else {
|
||||
return {
|
||||
id: assignment.post_number,
|
||||
id: assignment.postNumber,
|
||||
name: `Post #${assignment.postNumber}`, // fixme andrei string
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue