aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--catalog-ui/src/app/view-models/welcome/welcome-view.ts14
1 files changed, 10 insertions, 4 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..cb52c0c592 100644
--- a/catalog-ui/src/app/view-models/welcome/welcome-view.ts
+++ b/catalog-ui/src/app/view-models/welcome/welcome-view.ts
@@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -43,7 +43,13 @@ export class WelcomeViewModel {
this.loadImages(():void=> {
window.setTimeout(():void =>{
$(".sdc-welcome-new-page").addClass("animated fadeIn");
- },1000);
+ window.setTimeout(():void =>{
+ $(".sdc-welcome-new-page").addClass("animated fadeOut");
+ window.setTimeout(():void =>{
+ this.$state.go("dashboard", {});
+ },1000);
+ },3000);
+ },0);
});
},0);
}
@@ -73,5 +79,5 @@ export class WelcomeViewModel {
};
img.src = url;
};
-
+
}