mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix duplicate attachment
This commit is contained in:
@@ -21,8 +21,6 @@ import { ThemeService } from 'src/app/services/theme.service'
|
||||
export class EventsToApprovePage implements OnInit {
|
||||
|
||||
showLoader: boolean;
|
||||
eventsPRList: any = [];
|
||||
eventsMDGPRList: any = [];
|
||||
eventPerson: EventPerson;
|
||||
eventBody: EventBody;
|
||||
categories: string[];
|
||||
@@ -76,7 +74,12 @@ export class EventsToApprovePage implements OnInit {
|
||||
if(pr) {
|
||||
this.segment = pr.OwnerUserId
|
||||
}
|
||||
|
||||
this.dynamicSearch();
|
||||
} else {
|
||||
this.dynamicSearch();
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
this.LoadToApproveEvents()
|
||||
@@ -210,15 +213,7 @@ export class EventsToApprovePage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
getFromDB() {
|
||||
this.storage.get('event-to-aproveMD').then((events = []) => {
|
||||
this.eventsMDGPRList = events
|
||||
})
|
||||
|
||||
this.storage.get('event-to-aprovePR').then((events) => {
|
||||
this.eventsPRList = events
|
||||
})
|
||||
}
|
||||
getFromDB() {}
|
||||
|
||||
|
||||
toDateString(e) {
|
||||
|
||||
Reference in New Issue
Block a user