fix agenda and publication

This commit is contained in:
Peter Maquiran
2024-05-24 11:29:53 +01:00
parent fcb6727f4e
commit 3eecefcfa6
38 changed files with 651 additions and 216 deletions
+11 -11
View File
@@ -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) => {