Add descriptions to Works
This commit is contained in:
parent
7e7608b7d1
commit
767da66f63
5 changed files with 50 additions and 18 deletions
|
|
@ -6,12 +6,14 @@ export class Work {
|
|||
}
|
||||
}
|
||||
|
||||
update({ id, title, promo, group, shown, submission_url, corrected, start_availability, end_availability }) {
|
||||
update({ id, title, promo, group, shown, description, descr_raw, submission_url, corrected, start_availability, end_availability }) {
|
||||
this.id = id;
|
||||
this.title = title;
|
||||
this.promo = promo;
|
||||
this.group = group;
|
||||
this.shown = shown;
|
||||
this.description = description;
|
||||
this.descr_raw = descr_raw;
|
||||
this.submission_url = submission_url;
|
||||
this.corrected = corrected;
|
||||
if (this.start_availability != start_availability) {
|
||||
|
|
|
|||
Reference in a new issue