From 6909add1ec991cf4f9fdcc05978520f30414f576 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 20 Jan 2019 12:25:00 +0900 Subject: Drop stalk feature Resolve #3935 Closes #2226 Closes #1946 --- .../app/desktop/views/pages/user/user.profile.vue | 27 ---------------------- 1 file changed, 27 deletions(-) (limited to 'src/client') diff --git a/src/client/app/desktop/views/pages/user/user.profile.vue b/src/client/app/desktop/views/pages/user/user.profile.vue index 22cbf6546f..5f424432a9 100644 --- a/src/client/app/desktop/views/pages/user/user.profile.vue +++ b/src/client/app/desktop/views/pages/user/user.profile.vue @@ -3,10 +3,6 @@

{{ $t('follows-you') }}

-

- {{ $t('stalking') }} {{ $t('unstalk') }} - {{ $t('stalk') }} -

{{ $t('menu') }} @@ -24,26 +20,6 @@ export default Vue.extend({ props: ['user'], methods: { - stalk() { - this.$root.api('following/stalk', { - userId: this.user.id - }).then(() => { - this.user.isStalking = true; - }, () => { - alert('error'); - }); - }, - - unstalk() { - this.$root.api('following/unstalk', { - userId: this.user.id - }).then(() => { - this.user.isStalking = false; - }, () => { - alert('error'); - }); - }, - menu() { this.$root.new(XUserMenu, { source: this.$refs.menu.$el, @@ -78,9 +54,6 @@ export default Vue.extend({ background #eefaff border-radius 4px - > .stalk - margin 12px 0 0 0 - > .action-form padding 16px text-align center -- cgit v1.3.1-freya