From febfb97bb4cb6565434c503a3809f27eaf8c13b6 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 24 Feb 2019 10:38:53 +0900 Subject: [PATCH] Remember container state on user page (#4361) * Remember container state on user page * remove unnecessary code --- src/client/app/desktop/views/components/ui-container.vue | 3 ++- .../app/desktop/views/deck/deck.user-column.home.vue | 8 ++++++-- src/client/app/desktop/views/home/user/user.home.vue | 4 +++- src/client/app/desktop/views/home/user/user.photos.vue | 4 +++- src/client/app/store.ts | 4 +++- 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/client/app/desktop/views/components/ui-container.vue b/src/client/app/desktop/views/components/ui-container.vue index abe026c240..3bd335b54c 100644 --- a/src/client/app/desktop/views/components/ui-container.vue +++ b/src/client/app/desktop/views/components/ui-container.vue @@ -3,7 +3,7 @@
- @@ -48,6 +48,7 @@ export default Vue.extend({ methods: { toggleContent(show: boolean) { this.showBody = show; + this.$emit('toggle', show); } } }); diff --git a/src/client/app/desktop/views/deck/deck.user-column.home.vue b/src/client/app/desktop/views/deck/deck.user-column.home.vue index 38a0904ef5..93a5a56c03 100644 --- a/src/client/app/desktop/views/deck/deck.user-column.home.vue +++ b/src/client/app/desktop/views/deck/deck.user-column.home.vue @@ -6,7 +6,9 @@ - +
- +
diff --git a/src/client/app/desktop/views/home/user/user.home.vue b/src/client/app/desktop/views/home/user/user.home.vue index 6e69072109..ec533efd3e 100644 --- a/src/client/app/desktop/views/home/user/user.home.vue +++ b/src/client/app/desktop/views/home/user/user.home.vue @@ -3,7 +3,9 @@
- + diff --git a/src/client/app/desktop/views/home/user/user.photos.vue b/src/client/app/desktop/views/home/user/user.photos.vue index f1f29be47a..aff1c96c9a 100644 --- a/src/client/app/desktop/views/home/user/user.photos.vue +++ b/src/client/app/desktop/views/home/user/user.photos.vue @@ -1,5 +1,7 @@