diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-01-14 12:12:29 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-01-14 12:15:40 +0300 |
commit | ec22be64468f3ccdd3ded165281ac8dff6783da2 (patch) | |
tree | dbc424ff9eeaefbd8dd67ae2e71aae77ef333b3e /src/PublicShareAuthSidebar.vue | |
parent | 647f9aab2479c26fa51c7e2771d1d358aa0d08d5 (diff) |
Simplify deleteConversation store action
Merge deleteConversation that takes a conversation object with
deleteConversationByToken since only the token is needed anyway.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/PublicShareAuthSidebar.vue')
-rw-r--r-- | src/PublicShareAuthSidebar.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PublicShareAuthSidebar.vue b/src/PublicShareAuthSidebar.vue index c773bd6a8..f51d0882c 100644 --- a/src/PublicShareAuthSidebar.vue +++ b/src/PublicShareAuthSidebar.vue @@ -179,7 +179,7 @@ export default { } catch (exception) { window.clearInterval(this.fetchCurrentConversationIntervalId) - this.$store.dispatch('deleteConversationByToken', this.token) + this.$store.dispatch('deleteConversation', this.token) this.$store.dispatch('updateToken', '') } }, |