From 0c2d872da4b39f3427e761e57c86c089882c6171 Mon Sep 17 00:00:00 2001 From: aribeiro Date: Thu, 26 Sep 2019 11:43:21 +0100 Subject: 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 --- catalog-ui/src/app/view-models/welcome/welcome-view.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'catalog-ui/src') 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 => { -- cgit 1.2.3-korg