mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix add attachment
This commit is contained in:
@@ -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)
|
||||
|
||||
+6
-1
@@ -672,7 +672,12 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
this.documents.push({
|
||||
...data.selected,
|
||||
ApplicationId: data?.selected?.ApplicationType,
|
||||
DocId: data.selected?.Id,
|
||||
SourceId: data.selected?.Id
|
||||
});
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
|
||||
Reference in New Issue
Block a user