diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-05-06 16:43:56 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-05-30 10:28:57 +0200 |
commit | e8a26bcf0a84dc3880ede70998c75e4d85b72d60 (patch) | |
tree | 9a646f238d5a9e0c4a25346828843472d054d7b9 /src/store | |
parent | 5fec07abf282c01ede1a5fcbf2eff89367b39c62 (diff) |
Fix copylink, and member picker
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/circles.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/store/circles.js b/src/store/circles.js index 72d8cb60..ea056f36 100644 --- a/src/store/circles.js +++ b/src/store/circles.js @@ -192,8 +192,10 @@ const actions = { * @param {Circle} circleId the circle to delete */ async deleteCircle(context, circleId) { + const circle = context.getters.getCircle(circleId) try { await deleteCircle(circleId) + context.commit('deleteCircle', circle) console.debug('Deleted circle', circleId) } catch (error) { console.error(error) |