mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
fix search page
This commit is contained in:
@@ -97,15 +97,12 @@ import { ImageCropperModule } from 'ngx-image-cropper';
|
|||||||
import { createAction, createReducer, on, StoreModule } from '@ngrx/store';
|
import { createAction, createReducer, on, StoreModule } from '@ngrx/store';
|
||||||
import { ChatModule } from './module/chat/chat.module';
|
import { ChatModule } from './module/chat/chat.module';
|
||||||
import { openTelemetryLogging, OpenTelemetryLogging } from './services/monitoring/opentelemetry/logging';
|
import { openTelemetryLogging, OpenTelemetryLogging } from './services/monitoring/opentelemetry/logging';
|
||||||
// import { ServiceWorkerModule } from '@angular/service-worker';
|
|
||||||
// import { AngularFireModule } from '@angular/fire';
|
|
||||||
// import { AngularFireMessagingModule } from '@angular/fire/messaging';
|
|
||||||
// import { environment } from 'src/environments/environment';
|
|
||||||
|
|
||||||
/* import { FCM } from '@ionic-native/fcm/ngx';
|
import { registerLocaleData } from '@angular/common';
|
||||||
import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */
|
import localePt from '@angular/common/locales/pt';
|
||||||
//import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';
|
|
||||||
|
|
||||||
|
// Register the locale data
|
||||||
|
registerLocaleData(localePt, 'pt');
|
||||||
|
|
||||||
Sentry.init(
|
Sentry.init(
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ export class SendLocalMessagesUseCaseService {
|
|||||||
for(const message of messages) {
|
for(const message of messages) {
|
||||||
const room = allRooms.value.find(e => e.id == message.roomId)
|
const room = allRooms.value.find(e => e.id == message.roomId)
|
||||||
|
|
||||||
|
if(room) {
|
||||||
|
|
||||||
const attachments = await this.AttachmentRepositoryService.find({$messageId: message.$id})
|
const attachments = await this.AttachmentRepositoryService.find({$messageId: message.$id})
|
||||||
|
|
||||||
if(attachments.isOk()) {
|
if(attachments.isOk()) {
|
||||||
@@ -108,6 +110,8 @@ export class SendLocalMessagesUseCaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user