From b89ec4b2791c6c32a47ba1d210a2526da831f525 Mon Sep 17 00:00:00 2001 From: NekoVari Date: Thu, 23 Nov 2023 22:54:01 +0700 Subject: [PATCH 1/2] change sessionStorage item --- src/views/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Login.vue b/src/views/Login.vue index 503f3ef..baa3339 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -117,7 +117,7 @@ export default { }) .then((data) => { console.log(data.success); - sessionStorage.setItem('current_user', data.user.username); + sessionStorage.setItem('current_user', JSON.stringify({id:data.user._id,username:data.user.username,email:data.user.email})); this.$router.push({ name: 'home' }); }) .catch((err) => { From 381b2088ac737ee21c9ac32b502bbda23aea3263 Mon Sep 17 00:00:00 2001 From: SRP-mango Date: Fri, 24 Nov 2023 01:08:00 +0700 Subject: [PATCH 2/2] remove subtitle from destination card --- src/components/DestinationInfoCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DestinationInfoCard.vue b/src/components/DestinationInfoCard.vue index 085345b..6e23193 100644 --- a/src/components/DestinationInfoCard.vue +++ b/src/components/DestinationInfoCard.vue @@ -11,7 +11,7 @@ {{nearestStructureData.display_name}} - {{destination.subTitle}} +