diff --git a/frontend/src/views/settings/Shares.vue b/frontend/src/views/settings/Shares.vue index 1085d90e..04d62c4e 100644 --- a/frontend/src/views/settings/Shares.vue +++ b/frontend/src/views/settings/Shares.vue @@ -51,7 +51,8 @@ export default { computed: mapState([ 'user' ]), data: function () { return { - links: [] + links: [], + clip: null } }, async created () { @@ -73,6 +74,9 @@ export default { this.$showSuccess(this.$t('success.linkCopied')) }) }, + beforeDestroy () { + this.clip.destroy() + }, methods: { deleteLink: async function (event, link) { event.preventDefault()