diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-01-14 10:12:29 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-01-14 10:15:40 +0100 |
commit | ec22be64468f3ccdd3ded165281ac8dff6783da2 (patch) | |
tree | dbc424ff9eeaefbd8dd67ae2e71aae77ef333b3e /src/PublicShareSidebar.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/PublicShareSidebar.vue')
-rw-r--r-- | src/PublicShareSidebar.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PublicShareSidebar.vue b/src/PublicShareSidebar.vue index 2ac74f62d..0b8a99e3f 100644 --- a/src/PublicShareSidebar.vue +++ b/src/PublicShareSidebar.vue @@ -215,7 +215,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', '') } |