Project

General

Profile

« Previous | Next » 

Revision 59452

[use-UoaAdminToolsLibrary | Library]: Merge trunk into branch.

View differences:

new-page-help-content.component.ts
9 9
import {LoginErrorCodes} from '../../login/utils/guardHelper.class';
10 10
import {HelperFunctions} from "../../utils/HelperFunctions.class";
11 11
import {Page} from "../../utils/entities/adminTool/page";
12
import {properties} from "../../../../environments/environment";
12 13

  
13 14
@Component({
14 15
    selector: 'new-page-help-content',
......
76 77

  
77 78
  public saveCustom() {
78 79
      if(!Session.isLoggedIn()){
79
        this.router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl":  this.router.url} });
80
        this.router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl": this.router.url} });
80 81
      } else {
81 82
        //this.errorMessage = null;
82 83

  

Also available in: Unified diff