From 375fa5cf6527d73df2b205dd66838f093ebcf093 Mon Sep 17 00:00:00 2001 From: Shlee Date: Mon, 27 Jan 2025 20:36:34 +1030 Subject: [PATCH] Fix #5619 --- .../partials/profile/ProfileFeed.vue | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/resources/assets/components/partials/profile/ProfileFeed.vue b/resources/assets/components/partials/profile/ProfileFeed.vue index f5343f9d7..c6c69efb0 100644 --- a/resources/assets/components/partials/profile/ProfileFeed.vue +++ b/resources/assets/components/partials/profile/ProfileFeed.vue @@ -846,32 +846,6 @@ }) }, - handleBookmark(index) { - let p = this.feed[index]; - - if(p.reblog) { - p = p.reblog; - } - - axios.post('/i/bookmark', { - item: p.id - }) - .then(res => { - if(this.feed[index].reblog) { - this.feed[index].reblog.bookmarked = !p.bookmarked; - } else { - this.feed[index].bookmarked = !p.bookmarked; - } - }) - .catch(err => { - this.$bvToast.toast('Cannot bookmark post at this time.', { - title: 'Bookmark Error', - variant: 'danger', - autoHideDelay: 5000 - }); - }); - }, - formatCount(val) { return App.util.format.count(val); },