Skip to content

Commit

Permalink
Add tag_ids and agenda_type to agenda item duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
luisa-beerboom committed Jul 21, 2023
1 parent f774184 commit 5480797
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion client/src/app/gateways/repositories/agenda/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export function createAgendaItem(model: any): any {
agenda_duration: parseInt(model.agenda_duration, 10) || undefined,
agenda_parent_id: model.agenda_parent_id,
agenda_type: model.agenda_type,
agenda_weight: model.agenda_weight
agenda_weight: model.agenda_weight,
tag_ids: model.tag_ids
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ export class TopicRepositoryService extends BaseAgendaItemAndListOfSpeakersConte
agenda_parent_id: topicAgendaItem.parent_id,
agenda_weight: topicAgendaItem.weight,
agenda_comment: topicAgendaItem.comment,
agenda_duration: topicAgendaItem.duration
agenda_duration: topicAgendaItem.duration,
tag_ids: topicAgendaItem.tag_ids
};
}

Expand Down

0 comments on commit 5480797

Please sign in to comment.