Merge with peter changes

This commit is contained in:
Eudes Inácio
2021-08-30 15:00:44 +01:00
37 changed files with 560 additions and 208 deletions
@@ -546,7 +546,7 @@ export class CreateProcessPage implements OnInit {
taskParticipants: this.taskParticipants,
taskParticipantsCc: this.taskParticipantsCc
},
cssClass: 'attendee',
cssClass: 'attendee modal-desktop',
backdropDismiss: false
});
+1 -1
View File
@@ -28,7 +28,7 @@
</ion-buttons>
</div>
<div class="line"></div>
<ion-label>{{notificationdata.length}} novas notificações</ion-label>
<ion-label (click)="asyncNotification()">{{notificationdata.length}} novas notificações</ion-label>
</div>
</ion-header>
+6 -3
View File
@@ -10,6 +10,7 @@ import { EditProfilePage } from './edit-profile/edit-profile.page';
import { JsonStore } from '../../services/jsonStore.service';
import { StorageService } from '../../services/storage.service';
import { NotificationsService } from '../../services/notifications.service';
import { SessionStore } from 'src/app/store/session.service';
@Component({
selector: 'app-profile',
@@ -65,6 +66,8 @@ export class ProfilePage implements OnInit {
notImplemented() { }
asyncNotification(){}
async getNotificationData(){
this.storageservice.get("Notifications").then((value) => {
console.log("Init get store", value)
@@ -201,10 +204,10 @@ export class ProfilePage implements OnInit {
}
logout() {
window.localStorage.clear();
SessionStore.setInativity(false)
setTimeout(() => {
this.router.navigateByUrl('/', { replaceUrl: true });
this.router.navigate(['/inactivity']);
}, 100)
}