diff --git a/src/client/app/common/views/components/follow-button.vue b/src/client/app/common/views/components/follow-button.vue index 17282cf8f0..074a0c05b6 100644 --- a/src/client/app/common/views/components/follow-button.vue +++ b/src/client/app/common/views/components/follow-button.vue @@ -92,9 +92,9 @@ export default Vue.extend({ try { if (this.isFollowing) { - const canceled = await this.$root.dialog({ + const { canceled } = await this.$root.dialog({ type: 'warning', - text: this.$t('@.unfollow-confirm', { name: user.name || user.username }), + text: this.$t('@.unfollow-confirm', { name: this.user.name || this.user.username }), showCancelButton: true });