From: aribeiro Date: Thu, 26 Sep 2019 10:43:21 +0000 (+0100) Subject: Fix for closing sdc splashscreen. X-Git-Tag: 1.6.1~102 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0c2d872da4b39f3427e761e57c86c089882c6171;p=sdc.git 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 --- 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 => {