mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix goback
This commit is contained in:
+4
-1
@@ -34,7 +34,10 @@
|
|||||||
"glob": "**/*.svg",
|
"glob": "**/*.svg",
|
||||||
"input": "node_modules/ionicons/dist/ionicons/svg",
|
"input": "node_modules/ionicons/dist/ionicons/svg",
|
||||||
"output": "./svg"
|
"output": "./svg"
|
||||||
}
|
},
|
||||||
|
"src/manifest.webmanifest",
|
||||||
|
"src/combined-sw.js",
|
||||||
|
"src/firebase-messaging-sw.js"
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"./node_modules/@angular/material/prebuilt-themes/pink-bluegrey.css",
|
"./node_modules/@angular/material/prebuilt-themes/pink-bluegrey.css",
|
||||||
|
|||||||
+2
-2
@@ -28,7 +28,7 @@
|
|||||||
"@angular/cdk": "^11.2.13",
|
"@angular/cdk": "^11.2.13",
|
||||||
"@angular/common": "^12.1.2",
|
"@angular/common": "^12.1.2",
|
||||||
"@angular/core": "^12.1.2",
|
"@angular/core": "^12.1.2",
|
||||||
"@angular/fire": "^7.5.0",
|
"@angular/fire": "6.1.5",
|
||||||
"@angular/forms": "~12.1.2",
|
"@angular/forms": "~12.1.2",
|
||||||
"@angular/localize": "^12.1.2",
|
"@angular/localize": "^12.1.2",
|
||||||
"@angular/material": "^11.2.13",
|
"@angular/material": "^11.2.13",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"duration": "^0.2.2",
|
"duration": "^0.2.2",
|
||||||
"faker": "^5.5.3",
|
"faker": "^5.5.3",
|
||||||
"fifo-process-queue": "^1.2.0",
|
"fifo-process-queue": "^1.2.0",
|
||||||
"firebase": "^9.8.4",
|
"firebase": "^7.0 || ^8.0",
|
||||||
"g": "^2.0.1",
|
"g": "^2.0.1",
|
||||||
"global": "^4.4.0",
|
"global": "^4.4.0",
|
||||||
"hammerjs": "^2.0.8",
|
"hammerjs": "^2.0.8",
|
||||||
|
|||||||
@@ -76,6 +76,11 @@ import * as Sentry from '@sentry/capacitor';
|
|||||||
import { Integration } from '@sentry/types';
|
import { Integration } from '@sentry/types';
|
||||||
import { BrowserTracing } from '@sentry/tracing';
|
import { BrowserTracing } from '@sentry/tracing';
|
||||||
|
|
||||||
|
// 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 { FCM } from '@ionic-native/fcm/ngx';
|
||||||
import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */
|
import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */
|
||||||
//import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';
|
//import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';
|
||||||
@@ -108,7 +113,8 @@ import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */
|
|||||||
provide: DateAdapter,
|
provide: DateAdapter,
|
||||||
useFactory: adapterFactory
|
useFactory: adapterFactory
|
||||||
}),
|
}),
|
||||||
|
//AngularFireModule.initializeApp(environment.firebase),
|
||||||
|
//AngularFireMessagingModule,
|
||||||
IonicImageLoaderModule,
|
IonicImageLoaderModule,
|
||||||
IonicModule.forRoot({animated: false}),
|
IonicModule.forRoot({animated: false}),
|
||||||
IonicStorageModule.forRoot({
|
IonicStorageModule.forRoot({
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="div-title">
|
<div class="div-title">
|
||||||
<ion-label class="title"> {{publication.Title}}</ion-label>
|
<ion-label class="title"> {{publication.Title}} ..</ion-label>
|
||||||
<p class="post-data">{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}</p>
|
<p class="post-data">{{publication.DatePublication | date: 'dd-MM-yy | h:mm'}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+3
-3
@@ -33,10 +33,11 @@ export class PublicationDetailPage implements OnInit {
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
this.activatedRoute.paramMap.subscribe(params => {
|
this.activatedRoute.paramMap.subscribe(params => {
|
||||||
|
console.log(params["params"])
|
||||||
if(params["params"]) {
|
if(params["params"]) {
|
||||||
this.folderId = params["params"].folderId;
|
this.folderId = params["params"].folderId;
|
||||||
this.publicationId = params["params"].publicationId;
|
this.publicationId = params["params"].publicationId;
|
||||||
|
this.isModal = params["params"].isModal;
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -92,10 +93,9 @@ export class PublicationDetailPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
if(this.isModal) {
|
if(!window.location.href.includes('/home/publications/view-publications')) {
|
||||||
this.close()
|
this.close()
|
||||||
} else {
|
} else {
|
||||||
// alert('go back')
|
|
||||||
this.RouteService.goBack();
|
this.RouteService.goBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -272,6 +272,7 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
componentProps: {
|
componentProps: {
|
||||||
publicationId: publicationId,
|
publicationId: publicationId,
|
||||||
folderId: this.folderId,
|
folderId: this.folderId,
|
||||||
|
isModal: true
|
||||||
},
|
},
|
||||||
cssClass: 'publication-detail modal modal-desktop',
|
cssClass: 'publication-detail modal modal-desktop',
|
||||||
// backdropDismiss: false
|
// backdropDismiss: false
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
importScripts('ngsw-worker.js');
|
||||||
|
importScripts('firebase-messaging-sw.js');
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"gcm_sender_id": "103953800507"
|
||||||
|
}
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "6ff883c98",
|
"shortSHA": "f1f8243f2",
|
||||||
"SHA": "6ff883c9823b89c727d25fcccf2df8c647b5c0ae",
|
"SHA": "f1f8243f23423f335f98da9a8a11934e423e736a",
|
||||||
"branch": "no_bug_movemente",
|
"branch": "no_bug_movemente",
|
||||||
"lastCommitAuthor": "'Peter Maquiran'",
|
"lastCommitAuthor": "'Peter Maquiran'",
|
||||||
"lastCommitTime": "'Fri Feb 3 19:37:47 2023 +0100'",
|
"lastCommitTime": "'Fri Feb 3 19:43:42 2023 +0100'",
|
||||||
"lastCommitMessage": "message",
|
"lastCommitMessage": "merge",
|
||||||
"lastCommitNumber": "4720",
|
"lastCommitNumber": "4723",
|
||||||
"change": "",
|
"change": "",
|
||||||
"changeStatus": "On branch no_bug_movemente\nAll conflicts fixed but you are still merging.\n (use \"git commit\" to conclude merge)\n\nChanges to be committed:\n\tmodified: src/app/modals/profile/profile.page.ts\n\tmodified: src/app/models/envarioment.ts\n\tmodified: src/app/pages/agenda/agenda.page.html\n\tmodified: src/app/pages/gabinete-digital/despachos-pr/despachos-pr.page.ts\n\tmodified: src/app/services/chat/message.service.ts\n\tmodified: src/app/services/notifications.service.ts\n\tmodified: src/environments/suport/doneIt.ts\n\tmodified: src/environments/suport/oapr.ts\n\tmodified: version/git-version.ts",
|
"changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: angular.json\n\tmodified: package.json\n\tmodified: src/app/app.module.ts\n\tmodified: src/app/pages/publications/view-publications/publication-detail/publication-detail.page.html\n\tmodified: src/app/pages/publications/view-publications/publication-detail/publication-detail.page.ts\n\tmodified: src/app/pages/publications/view-publications/view-publications.page.ts\n\tnew file: src/combined-sw.js\n\trenamed: src/assets/firebase-messaging-sw.js -> src/firebase-messaging-sw.js\n\tnew file: src/manifest.webmanifest\n\tmodified: version/git-version.ts\n\tdeleted: www.rar",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user