From 8c6936409d1400a8b4000ff9b8875636353c2731 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 5 Apr 2024 22:38:13 -0600 Subject: [PATCH] Update relationships view, fix unfollow hashtag bug. Fixes #5008 --- .../settings/relationships/home.blade.php | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/resources/views/settings/relationships/home.blade.php b/resources/views/settings/relationships/home.blade.php index b246de49c..fcde2b43e 100644 --- a/resources/views/settings/relationships/home.blade.php +++ b/resources/views/settings/relationships/home.blade.php @@ -6,18 +6,14 @@

Relationships


- -
+
+

+ Followers + Following + Hashtags +

+
+ @if(empty($data))

You are not {{$mode == 'hashtags' ? 'following any hashtags.' : ($mode == 'following' ? 'following anyone.' : 'followed by anyone.')}}

@else @@ -149,9 +145,7 @@ break; case 'unfollowhashtag': - axios.post('/api/local/discover/tag/subscribe', { - name: id - }).then(res => { + axios.post('/api/v1/tags/' + id + '/unfollow').then(res => { swal( 'Unfollow Successful', 'You have successfully unfollowed that hashtag',