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
46d2f4be
Commit
46d2f4be
authored
6 years ago
by
Lukas Mauß
Browse files
Options
Downloads
Patches
Plain Diff
Change home-navigation to landing-page
parent
458feb36
1 merge request
!150
Resolve "Follow up from "Several Fixes""
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/shared/header/header.component.ts
+1
-14
1 addition, 14 deletions
src/app/components/shared/header/header.component.ts
with
1 addition
and
14 deletions
src/app/components/shared/header/header.component.ts
+
1
−
14
View file @
46d2f4be
...
@@ -52,20 +52,7 @@ export class HeaderComponent implements OnInit {
...
@@ -52,20 +52,7 @@ export class HeaderComponent implements OnInit {
}
}
goToHomepage
()
{
goToHomepage
()
{
const
role
:
UserRole
=
this
.
user
!==
undefined
?
this
.
user
.
role
:
undefined
;
this
.
router
.
navigate
([
'
/home
'
]);
let
route
:
string
;
switch
(
role
)
{
case
UserRole
.
PARTICIPANT
:
route
=
'
/participant
'
;
break
;
case
UserRole
.
CREATOR
:
route
=
'
/creator
'
;
break
;
default
:
route
=
'
/
'
;
}
this
.
router
.
navigate
([
route
]);
}
}
useLanguage
(
language
:
string
)
{
useLanguage
(
language
:
string
)
{
...
...
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