diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-06-28 12:21:52 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-06-28 12:21:52 +0200 |
commit | 8bbc0c2d3bc40122297b19665cf1df3ff3670e1f (patch) | |
tree | b987bea99b85493661e03e3fdf3c54fb24fbf93b /src/mixins | |
parent | bf247b3861f41b59822cb0965bfa68de6fdb79ab (diff) |
Fix circle membership request
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/mixins')
-rw-r--r-- | src/mixins/CircleActionsMixin.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mixins/CircleActionsMixin.js b/src/mixins/CircleActionsMixin.js index 00f0c299..873db246 100644 --- a/src/mixins/CircleActionsMixin.js +++ b/src/mixins/CircleActionsMixin.js @@ -40,6 +40,7 @@ export default { data() { return { loadingAction: false, + loadingJoin: false, } }, @@ -102,13 +103,13 @@ export default { }, async joinCircle() { - this.loadingAction = true + this.loadingJoin = true try { await joinCircle(this.circle.id) } catch (error) { showError(t('contacts', 'Unable to join the circle')) } finally { - this.loadingAction = false + this.loadingJoin = false } }, |