Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
544745b2
There was an error fetching the commit references. Please try again later.
Commit
544745b2
authored
6 years ago
by
Lukas Mauß
Browse files
Options
Downloads
Patches
Plain Diff
Remove useless code
parent
6dfd0519
1 merge request
!137
Resolve "Direct entry"
Pipeline
#23071
passed with stages
in 3 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/components/home/new-landing/new-landing.component.ts
+1
-1
1 addition, 1 deletion
src/app/components/home/new-landing/new-landing.component.ts
src/app/components/shared/room-join/room-join.component.ts
+2
-3
2 additions, 3 deletions
src/app/components/shared/room-join/room-join.component.ts
with
3 additions
and
4 deletions
src/app/components/home/new-landing/new-landing.component.ts
+
1
−
1
View file @
544745b2
...
...
@@ -14,7 +14,7 @@ import { Router } from '@angular/router';
export
class
NewLandingComponent
implements
OnInit
{
user
:
User
;
demoId
=
88992370
;
demoId
=
88992370
;
// online 95680586, change before merging
constructor
(
public
authenticationService
:
AuthenticationService
,
private
router
:
Router
,
...
...
This diff is collapsed.
Click to expand it.
src/app/components/shared/room-join/room-join.component.ts
+
2
−
3
View file @
544745b2
...
...
@@ -6,8 +6,7 @@ import { RegisterErrorStateMatcher } from '../../home/_dialogs/register/register
import
{
FormControl
,
FormGroupDirective
,
NgForm
,
Validators
}
from
'
@angular/forms
'
;
import
{
ErrorStateMatcher
}
from
'
@angular/material
'
;
import
{
NotificationService
}
from
'
../../../services/util/notification.service
'
;
import
{
LanguageService
}
from
"
../../../services/util/language.service
"
;
import
{
TranslateService
}
from
"
@ngx-translate/core
"
;
import
{
TranslateService
}
from
'
@ngx-translate/core
'
;
export
class
JoinErrorStateMatcher
implements
ErrorStateMatcher
{
isErrorState
(
control
:
FormControl
|
null
,
form
:
FormGroupDirective
|
NgForm
|
null
):
boolean
{
...
...
@@ -24,7 +23,7 @@ export class JoinErrorStateMatcher implements ErrorStateMatcher {
export
class
RoomJoinComponent
implements
OnInit
{
room
:
Room
;
demoId
=
'
26973546
'
;
// online 95680586, change before merging
demoId
=
'
26973546
'
;
roomFormControl
=
new
FormControl
(
''
,
[
Validators
.
required
,
Validators
.
minLength
(
8
)]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment