diff --git a/src/client/app.vue b/src/client/app.vue
index 093e65d16e..dcd393db32 100644
--- a/src/client/app.vue
+++ b/src/client/app.vue
@@ -18,8 +18,10 @@
-
-
+
+
+
+
@@ -141,7 +143,7 @@ export default Vue.extend({
};
},
- widgets(): any[] {
+ widgets(): any {
if (this.$store.getters.isSignedIn) {
const widgets = this.$store.state.deviceUser.widgets;
return {
@@ -150,18 +152,24 @@ export default Vue.extend({
mobile: widgets.filter(x => x.place === 'mobile'),
};
} else {
- return {
- left: [],
- right: [{
+ const right = [{
+ name: 'calendar',
+ id: 'b', place: 'right', data: {}
+ }, {
+ name: 'trends',
+ id: 'c', place: 'right', data: {}
+ }];
+
+ if (this.$route.name !== 'index') {
+ right.unshift({
name: 'welcome',
id: 'a', place: 'right', data: {}
- }, {
- name: 'calendar',
- id: 'b', place: 'right', data: {}
- }, {
- name: 'trends',
- id: 'c', place: 'right', data: {}
- }],
+ });
+ }
+
+ return {
+ left: [],
+ right,
mobile: [],
};
}