relace logguser to sesstion service

This commit is contained in:
Peter Maquiran
2023-02-17 11:28:44 +01:00
parent 4b307790b4
commit 225b638052
2 changed files with 11 additions and 10 deletions
+7 -7
View File
@@ -1,12 +1,12 @@
export let versionData = {
"shortSHA": "ac9e427d4",
"SHA": "ac9e427d4cf742c26fc20dc7eb39c3bfd985a570",
"shortSHA": "4b307790b",
"SHA": "4b307790b47e9a4c30820cc4d82a6f57952d02b7",
"branch": "no_bug_movemente",
"lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Fri Feb 17 11:27:44 2023 +0100'",
"lastCommitMessage": "Set description for message",
"lastCommitNumber": "4795",
"change": "diff --git a/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts b/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts\nindex bd5a85f44..7926b8b76 100644\n--- a/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts\n+++ b/src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts\n@@ -19,6 +19,7 @@ import { NgxMatDateFormats } from '@angular-material-components/datetime-picker'\n import { NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';\n import { ThemeService } from 'src/app/services/theme.service'\n import { SessionStore } from 'src/app/store/session.service';\n+import { RoleIdService } from 'src/app/services/role-id.service';\n \n \n const moment = _rollupMoment || _moment;\n@@ -116,15 +117,15 @@ export class BookMeetingModalPage implements OnInit {\n private navParams: NavParams,\n private attachmentsService: AttachmentsService,\n public calendarService: EventsService,\n- authService: AuthService,\n private toastService: ToastService,\n public ThemeService: ThemeService,\n public eventService: EventsService,\n+ public RoleIdService: RoleIdService\n \n \n ) {\n this.taskParticipants = [];\n- this.loggeduser = SessionStore.user;\n+\n this.task = this.navParams.get('task');\n \n this.postData = new Event();\n@@ -256,7 +257,7 @@ export class BookMeetingModalPage implements OnInit {\n \n async saveTask() {\n \n- if(this.loggeduser.Profile == 'MDGPR') {\n+ if(SessionStore.user.Profile == 'MDGPR') {\n this.injectValidation()\n this.runValidation()\n if(this.Form.invalid) return false",
"changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/models/user.model.ts\n\nChanges not staged for commit:\n (use \"git add <file>...\" to update what will be committed)\n (use \"git restore <file>...\" to discard changes in working directory)\n\tmodified: src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts",
"lastCommitTime": "'Fri Feb 17 11:28:12 2023 +0100'",
"lastCommitMessage": "add description for interface",
"lastCommitNumber": "4796",
"change": "",
"changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts",
"changeAuthor": "peter.maquiran"
}