Skip to content

Commit 7500e77

Browse files
GoogleUserNotFound page now displays again.
The issue was the pathing in the Login routes. Also cleaned up the Component file by removing unnecessary code. #2915
1 parent dd65a31 commit 7500e77

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import { Component, OnInit } from '@angular/core';
1+
import { Component } from '@angular/core';
22

33
@Component({
44
selector: 'app-login-google-user-not-found',
55
templateUrl: './login-google-user-not-found.component.html',
66
styleUrls: ['./login-google-user-not-found.component.scss']
77
})
8-
export class LoginGoogleUserNotFoundComponent implements OnInit {
9-
constructor() {}
10-
11-
ngOnInit() {}
8+
export class LoginGoogleUserNotFoundComponent {
129
}

src/main/webapp/site/src/app/login/login-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const loginRoutes: Routes = [
1111
component: LoginComponent,
1212
children: [
1313
{ path: '', component: LoginHomeComponent },
14-
{ path: 'login/googleUserNotFound', component: LoginGoogleUserNotFoundComponent }
14+
{ path: 'googleUserNotFound', component: LoginGoogleUserNotFoundComponent }
1515
]
1616
}
1717
];

src/main/webapp/site/src/messages.xlf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8200,7 +8200,7 @@
82008200
<source> You have used <x equiv-text="{{componentState.studentData.submitCounter}}" id="INTERPOLATION"/> of <x equiv-text="{{componentContent.maxSubmitCount}}" id="INTERPOLATION_1"/> attempt(s) </source>
82018201
<context-group purpose="location">
82028202
<context context-type="sourcefile">../../wise5/components/match/match-grading/match-grading.component.html</context>
8203-
<context context-type="linenumber">103</context>
8203+
<context context-type="linenumber">99</context>
82048204
</context-group>
82058205
<context-group purpose="location">
82068206
<context context-type="sourcefile">../../wise5/components/multipleChoice/multiple-choice-grading/multiple-choice-grading.component.html</context>
@@ -8211,7 +8211,7 @@
82118211
<source> Correct </source>
82128212
<context-group purpose="location">
82138213
<context context-type="sourcefile">../../wise5/components/match/match-grading/match-grading.component.html</context>
8214-
<context context-type="linenumber">108</context>
8214+
<context context-type="linenumber">104</context>
82158215
</context-group>
82168216
<context-group purpose="location">
82178217
<context context-type="sourcefile">../../wise5/components/multipleChoice/multiple-choice-grading/multiple-choice-grading.component.html</context>
@@ -8222,7 +8222,7 @@
82228222
<source> Incorrect </source>
82238223
<context-group purpose="location">
82248224
<context context-type="sourcefile">../../wise5/components/match/match-grading/match-grading.component.html</context>
8225-
<context context-type="linenumber">113</context>
8225+
<context context-type="linenumber">109</context>
82268226
</context-group>
82278227
<context-group purpose="location">
82288228
<context context-type="sourcefile">../../wise5/components/multipleChoice/multiple-choice-grading/multiple-choice-grading.component.html</context>

0 commit comments

Comments
 (0)