diff --git a/.dockerignore b/.dockerignore
index 324c4bce5..bab808cd6 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -10,3 +10,4 @@ docker-compose.yml
elasticsearch/
node_modules/
redis/
+files/
diff --git a/src/client/app.vue b/src/client/app.vue
index 093e65d16..dcd393db3 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: [],
};
}