mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix agenda and publication
This commit is contained in:
+11
-11
@@ -363,18 +363,18 @@ export class HomePage implements OnInit {
|
||||
}
|
||||
|
||||
async synchWhenOnline() {
|
||||
try {
|
||||
await this.storage.get('eventEdit').then((req) => {
|
||||
JSON.parse(req).forEach(element => {
|
||||
this.eventservice.editEvent(element, 2, 3).subscribe((res) => {
|
||||
this.storage.remove('eventEdit')
|
||||
//this.sqliteservice.deleteeventsTable();
|
||||
})
|
||||
});
|
||||
})
|
||||
} catch (error) {
|
||||
// try {
|
||||
// await this.storage.get('eventEdit').then((req) => {
|
||||
// JSON.parse(req).forEach(element => {
|
||||
// this.eventservice.editEvent(element, 2, 3).subscribe((res) => {
|
||||
// this.storage.remove('eventEdit')
|
||||
// //this.sqliteservice.deleteeventsTable();
|
||||
// })
|
||||
// });
|
||||
// })
|
||||
// } catch (error) {
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
try {
|
||||
await this.storage.get('eventDelete').then((req) => {
|
||||
|
||||
Reference in New Issue
Block a user