diff --git a/src/app/shared/agenda/edit-event/edit-event.page.ts b/src/app/shared/agenda/edit-event/edit-event.page.ts
index 4e7d0ff7d..fa7586a59 100644
--- a/src/app/shared/agenda/edit-event/edit-event.page.ts
+++ b/src/app/shared/agenda/edit-event/edit-event.page.ts
@@ -17,6 +17,7 @@ import { ContactsService } from 'src/app/services/contacts.service'
import { DomSanitizerService } from 'src/app/services/DomSanitizer.service';
import { AgendaDataRepositoryService } from 'src/app/services/Repositorys/Agenda/agenda-data-repository.service';
import { SearchList_v2 } from 'src/app/models/search-document';
+import { Utils } from 'src/app/services/Repositorys/Agenda/utils';
@Component({
selector: 'app-edit-event',
@@ -107,7 +108,8 @@ export class EditEventPage implements OnInit {
private httpErrorHandle: HttpErrorHandle,
private contactsService: ContactsService,
private domSanitizeService: DomSanitizerService,
- private agendaDataRepository: AgendaDataRepositoryService
+ private agendaDataRepository: AgendaDataRepositoryService,
+ private utils: Utils
) {
}
@@ -116,6 +118,7 @@ export class EditEventPage implements OnInit {
this.loadedEventAttachments = this.postEvent.Attachments
console.log(this.postEvent)
this._postEvent = this.postEvent
+ this._postEvent.EventRecurrence.frequency = this.utils.recurenceTypeSeleted(this.postEvent.EventRecurrence.frequency)
this.allDayCheck = this.postEvent.IsAllDayEvent;
if (!this.restoreTemporaryData()) {
// clear
diff --git a/src/environments/suport/doneIt.ts b/src/environments/suport/doneIt.ts
index 7432faf61..18754d009 100644
--- a/src/environments/suport/doneIt.ts
+++ b/src/environments/suport/doneIt.ts
@@ -3,10 +3,12 @@ import { Environment } from './../../app/models/envarioment';
export const environment: Environment = {
id:'1',
- apiURL: 'https://gdapi-dev.dyndns.info/api/',
+ apiURL: 'http://gpr-dev-01:83/jwt/api/',
+ /* apiURL: 'https://gdapi-dev-0.dyndns.info/jwt/api/', */
apiChatUrl: 'https://gdchat-dev.dyndns.info/api/v1/',
apiWsChatUrl: 'wss://gdchat-dev.dyndns.info/websocket',
- apiPCURL: 'https://gdcmapi-dev.dyndns.info/api/',
+ apiPCURL: 'http://gpr-dev-01:86/api/',
+ /* apiPCURL: 'https://gdcmapi-dev.dyndns.info/api/', */
/* apiURL: 'https://API.DONEIT.CO.AO/api/',
apiChatUrl: 'https://CHAT.DONEIT.CO.AO/api/v1/',
apiWsChatUrl: 'wss://CHAT.DONEIT.CO.AO/websocket',
@@ -34,10 +36,11 @@ export const environment: Environment = {
export const doneITDev: Environment = {
id:'1',
- apiURL: 'https://gdapi-dev.dyndns.info/api/',
+ apiURL: 'http://gpr-dev-01:83/jwt/api/',
+ /* apiURL: 'https://gdapi-dev-0.dyndns.info/jwt/api/', */
apiChatUrl: 'https://gdchat-dev.dyndns.info/api/v1/',
apiWsChatUrl: 'wss://gdchat-dev.dyndns.info/websocket',
- apiPCURL: 'https://gdcmapi-dev.dyndns.info/api/',
+ apiPCURL: 'http://gpr-dev-01:86/api/',
/* apiURL: 'https://API.DONEIT.CO.AO/api/',
apiChatUrl: 'https://CHAT.DONEIT.CO.AO/api/v1/',
apiWsChatUrl: 'wss://CHAT.DONEIT.CO.AO/websocket',