mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
git pull made
This commit is contained in:
+4
-3
@@ -19,6 +19,7 @@ import { NgxMatDateFormats } from '@angular-material-components/datetime-picker'
|
||||
import { NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';
|
||||
import { ThemeService } from 'src/app/services/theme.service'
|
||||
import { SessionStore } from 'src/app/store/session.service';
|
||||
import { RoleIdService } from 'src/app/services/role-id.service';
|
||||
|
||||
|
||||
const moment = _rollupMoment || _moment;
|
||||
@@ -116,15 +117,15 @@ export class BookMeetingModalPage implements OnInit {
|
||||
private navParams: NavParams,
|
||||
private attachmentsService: AttachmentsService,
|
||||
public calendarService: EventsService,
|
||||
authService: AuthService,
|
||||
private toastService: ToastService,
|
||||
public ThemeService: ThemeService,
|
||||
public eventService: EventsService,
|
||||
public RoleIdService: RoleIdService
|
||||
|
||||
|
||||
) {
|
||||
this.taskParticipants = [];
|
||||
this.loggeduser = SessionStore.user;
|
||||
|
||||
this.task = this.navParams.get('task');
|
||||
|
||||
this.postData = new Event();
|
||||
@@ -256,7 +257,7 @@ export class BookMeetingModalPage implements OnInit {
|
||||
|
||||
async saveTask() {
|
||||
|
||||
if(this.loggeduser.Profile == 'MDGPR') {
|
||||
if(SessionStore.user.Profile == 'MDGPR') {
|
||||
this.injectValidation()
|
||||
this.runValidation()
|
||||
if(this.Form.invalid) return false
|
||||
|
||||
Reference in New Issue
Block a user