Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
350
Merge Requests
56
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
eed28b02
Commit
eed28b02
authored
2 hours ago
by
Marcelo Rivera
Browse files
Options
Download
(fix): issue with redirection
parent
86488d8a
feat/onboarding
1 merge request
!674
Onboarding
Pipeline
#107525276
passed with stages
in 86 minutes and 27 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
+11
-3
src/app/app.component.ts
View file @
eed28b02
...
...
@@ -113,7 +113,10 @@ export class Minds {
this
.
minds
.
user
.
language
,
this
.
minds
.
language
);
window
.
location
.
reload
(
true
);
setTimeout
(()
=>
{
window
.
location
.
reload
(
true
);
});
}
}
});
...
...
This diff is collapsed.
src/app/modules/auth/register.component.ts
View file @
eed28b02
...
...
@@ -85,6 +85,7 @@ export class RegisterComponent implements OnInit, OnDestroy {
registered
()
{
if
(
this
.
redirectTo
)
{
this
.
navigateToRedirection
();
return
;
}
this
.
router
.
navigate
([
'
/
'
+
this
.
session
.
getLoggedInUser
().
username
]);
...
...
This diff is collapsed.
src/app/modules/forms/register/register.ts
View file @
eed28b02
...
...
@@ -143,8 +143,8 @@ export class RegisterForm implements OnInit {
// TODO: [emi/sprint/bison] Find a way to reset controls. Old implementation throws Exception;
this
.
inProgress
=
false
;
this
.
done
.
next
(
data
.
user
);
this
.
session
.
login
(
data
.
user
);
this
.
done
.
next
(
data
.
user
);
})
.
catch
(
e
=>
{
console
.
log
(
e
);
...
...
This diff is collapsed.
src/app/modules/onboarding-v2/page/onboarding.component.ts
View file @
eed28b02
...
...
@@ -30,6 +30,7 @@ export class OnboardingComponent implements OnDestroy {
},
];
showTitle
:
boolean
=
false
;
shown
:
boolean
=
false
;
constructor
(
private
session
:
Session
,
...
...
@@ -45,6 +46,10 @@ export class OnboardingComponent implements OnDestroy {
if
(
section
===
'
notice
'
)
{
this
.
showTitle
=
false
;
}
else
{
if
(
!
this
.
shown
)
{
this
.
shown
=
true
;
this
.
onboardingService
.
shown
();
}
this
.
showTitle
=
true
;
for
(
const
item
of
this
.
steps
)
{
...
...
@@ -73,7 +78,6 @@ export class OnboardingComponent implements OnDestroy {
this
.
router
.
navigate
([
'
/newsfeed/subscriptions
'
]);
}
this
.
onboardingService
.
shown
();
this
.
topbarService
.
toggleVisibility
(
false
);
this
.
sidebarMarkersService
.
toggleVisibility
(
false
);
}
...
...
This diff is collapsed.
Please
register
or
sign in
to comment