aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2019-09-26 11:43:21 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-10-03 13:54:26 +0000
commit0c2d872da4b39f3427e761e57c86c089882c6171 (patch)
tree95678756a95003c5a48c320bdff7827ed8013c5c
parent345ad9510bb1d06870688a25d5b0013495f2e3ac (diff)
Fix for closing sdc splashscreen.
After loading, the SDC splashscreen will now disappear after a total of 4 seconds. Issue-ID: SDC-2258 Change-Id: I16629b2cf90f6cca0469ceb506128dabfc1ea3e1 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
-rw-r--r--catalog-ui/src/app/view-models/welcome/welcome-view.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog-ui/src/app/view-models/welcome/welcome-view.ts b/catalog-ui/src/app/view-models/welcome/welcome-view.ts
index a29a539a3c..9e88cb66f7 100644
--- a/catalog-ui/src/app/view-models/welcome/welcome-view.ts
+++ b/catalog-ui/src/app/view-models/welcome/welcome-view.ts
@@ -52,6 +52,9 @@ export class WelcomeViewModel {
this.$scope.onCloseButtonClick = ():void => {
this.$state.go("dashboard", {});
};
+ window.setTimeout(():void => {
+ this.$state.go("dashboard", {});
+ },4000);
};
private init = ():void => {