diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2019-07-04 20:52:21 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-07-04 20:52:21 +0900 |
| commit | f379a721f1a443fde528209eb4d509d7764be02a (patch) | |
| tree | 5ebee9522d402d6fd74f4ad7789f213f917419de /src | |
| parent | Update CHANGELOG.md (diff) | |
| download | sharkey-f379a721f1a443fde528209eb4d509d7764be02a.tar.gz sharkey-f379a721f1a443fde528209eb4d509d7764be02a.tar.bz2 sharkey-f379a721f1a443fde528209eb4d509d7764be02a.zip | |
Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/components/follow-button.vue | 4 |
1 files changed, 2 insertions, 2 deletions
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 }); |