Commit 69c84901 by Matteo

Fix notifiche

parent bec3d3fe
...@@ -12,8 +12,8 @@ android { ...@@ -12,8 +12,8 @@ android {
applicationId "it.aimconsulting.intranet" applicationId "it.aimconsulting.intranet"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 16 versionCode 18
versionName "0.0.16" versionName "0.0.18"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions { aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<ion-label>{{ 'undo_archivio_notifiche' | translate }}</ion-label> <ion-label>{{ 'undo_archivio_notifiche' | translate }}</ion-label>
</span> </span>
<ion-button (click)="archiviaNotifiche(false)" class="search-arrow" title="{{ 'riattiva_notifiche' | translate }}"> <ion-button (click)="archiviaNotifiche(false)" class="search-arrow" title="{{ 'riattiva_notifiche' | translate }}">
<ion-icon class="button-icon-documenti-smart ios-icon" slot="icon-only" name="undo" title="{{ 'riattiva_notifiche' | translate }}"></ion-icon> <ion-icon class="button-icon-documenti-smart ios-icon" slot="icon-only" name="arrow-undo-circle-outline" title="{{ 'riattiva_notifiche' | translate }}"></ion-icon>
</ion-button> </ion-button>
</ion-row> </ion-row>
</div> </div>
......
...@@ -317,7 +317,7 @@ export class NotifichePage implements OnInit { ...@@ -317,7 +317,7 @@ export class NotifichePage implements OnInit {
this.utilService.showLoading(); this.utilService.showLoading();
this.notificheSelezionate = new Array(); this.notificheSelezionate = new Array();
this.notifiche.forEach(this.raccogliNotifiche, this); this.notifiche.forEach(this.raccogliNotifiche, this);
this.notificheService.archiviaNotifiche(this.idCliente, archiviare, this.notificheSelezionate).subscribe((res: ArchiviaNotificaResponse)=>{ this.notificheService.archiviaNotifiche(-1, archiviare, this.notificheSelezionate).subscribe((res: ArchiviaNotificaResponse)=>{
this.utilService.closeLoading(); this.utilService.closeLoading();
if(res.error){ if(res.error){
this.utilService.presentAlert("Errore", "", res.error, ["OK"]); this.utilService.presentAlert("Errore", "", res.error, ["OK"]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment