mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
remove console logs
This commit is contained in:
@@ -54,7 +54,7 @@ export class AgendaLocalDataSourceService {
|
||||
await AgendaDataSource.shareCalendar.bulkAdd(data);
|
||||
|
||||
});
|
||||
console.log('Clear and add operations completed within transaction.');
|
||||
// console.log('Clear and add operations completed within transaction.');
|
||||
} catch (error) {
|
||||
console.error('Error performing transaction:', error, data);
|
||||
}
|
||||
|
||||
@@ -335,7 +335,6 @@ export class AgendaDataRepositoryService {
|
||||
|
||||
return this.getShareCalendarItemsLive().pipe(
|
||||
map(data => data.sort((a, b) => {
|
||||
console.log('Raw data:', data); // Debug line
|
||||
const priorityA = rolePriorities[a.roleId] || Infinity;
|
||||
const priorityB = rolePriorities[b.roleId] || Infinity;
|
||||
return priorityA - priorityB;
|
||||
|
||||
@@ -87,7 +87,7 @@ export class LocalNotificationService {
|
||||
await NotificationDataSource.notification.bulkAdd(notifications);
|
||||
|
||||
});
|
||||
console.log('Clear and add operations completed within transaction.');
|
||||
// console.log('Clear and add operations completed within transaction.');
|
||||
} catch (error) {
|
||||
console.error('Error performing transaction:', error, notifications);
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ export class UserLocalRepositoryService {
|
||||
await session.profilePicture.clear();
|
||||
await session.profilePicture.add(data);
|
||||
});
|
||||
console.log('Clear and add operations completed within transaction.');
|
||||
// console.log('Clear and add operations completed within transaction.');
|
||||
} catch (error) {
|
||||
console.error('Error performing transaction:', error, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user