From c407f2081f957f2bcf55ec295fc990060fc0313a Mon Sep 17 00:00:00 2001 From: jaypae95 <jaypae95@hbsmith.io> Date: Mon, 9 Dec 2019 03:45:11 +0900 Subject: [PATCH] fixed err temprlly --- src/views/MyPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/MyPage.vue b/src/views/MyPage.vue index cf3291e..95a98bf 100644 --- a/src/views/MyPage.vue +++ b/src/views/MyPage.vue @@ -71,7 +71,7 @@ export default { API.toggleSharePlanAPI(this.$http, this.$env.apiUrl, data).catch(() => {}) }, shareButtonText (tour) { - if (tour.is_shared === 0) { + if (tour.is_shared === 0 || tour.is_shared === '0') { return '공유하기' } else { return '공유 취소하기' -- GitLab