Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
JunWei96 committed Mar 22, 2019
1 parent f9a0702 commit da7959f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/core/models/comment.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export enum RespondType {
}

// tslint:disable-next-line
export const phase3ResponseTemplate = /(?<header>## Tutor's Response|## State the duplicated issue here, if any)\s+(?<description>[\s\S]*?)(?=## Tutor's Response|## State the duplicated issue here, if any|$)/gi;
export const phase3ResponseTemplate = new RegExp('(?<header>## Tutor\'s Response|## State the duplicated issue here, if any)\s+(?<description>[\s\S]*?)(?=## Tutor\'s Response|## State the duplicated issue here, if any|$)', 'gi');

// tslint:disable-next-line
export const phase2ResponseTemplate = new RegExp('(?<header>## Team\'s Response|## State the duplicated issue here, if any)\\s+(?<description>[\\s\\S]*?)(?=## Team\'s Response|## State the duplicated issue here, if any|$)', 'gi');
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class IssuesRespondedComponent implements OnInit, OnChanges {
@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatPaginator) paginator: MatPaginator;

constructor(private issueService: IssueService, private errorHandlingService: ErrorHandlingService, private userService: UserService) {
constructor(private issueService: IssueService, private errorHandlingService: ErrorHandlingService, public userService: UserService) {
if (userService.currentUser.role === UserRole.Student) {
this.displayedColumns = ['id', 'title', 'type', 'severity', 'responseTag', 'assignees'];
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/app/phase2/phase2.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {DataService} from '../core/services/data.service';
export class Phase2Component implements OnInit {
public teamFilter = 'All Teams';

constructor(private userService: UserService, private dataService: DataService) {}
constructor(public userService: UserService, private dataService: DataService) {}

ngOnInit() {}

Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>CATcher</title>
<base href="/">
<base href="./">

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
Expand Down

0 comments on commit da7959f

Please sign in to comment.