fix add attachment

This commit is contained in:
Peter Maquiran
2024-02-23 12:15:29 +01:00
parent 5b5c5b7d18
commit dab4c6c3c2
2 changed files with 12 additions and 2 deletions
@@ -445,7 +445,12 @@ export class DocumentSetUpMeetingPage implements OnInit {
modal.onDidDismiss().then((res) => {
if (res) {
const data = res.data;
this.attachments.push(data.selected);
this.attachments.push({
...data.selected,
ApplicationId: data?.selected?.ApplicationType,
DocId: data.selected?.Id,
SourceId: data.selected?.Id
});
}
}, (error) => {
console.log(error)