diff --git a/resources/views/profile/partial/private-info.blade.php b/resources/views/profile/partial/private-info.blade.php index 1e69755f1..20a779098 100644 --- a/resources/views/profile/partial/private-info.blade.php +++ b/resources/views/profile/partial/private-info.blade.php @@ -10,6 +10,23 @@
{{$user->username}} + @if(Auth::check() && $is_following == true) + + + + @elseif(Auth::check() && $is_following == false) + + + + @endif
diff --git a/resources/views/profile/partial/user-info.blade.php b/resources/views/profile/partial/user-info.blade.php index 0f51a8e4b..5b48ddf86 100644 --- a/resources/views/profile/partial/user-info.blade.php +++ b/resources/views/profile/partial/user-info.blade.php @@ -19,7 +19,7 @@ - @elseif ($is_following == true) + @elseif (Auth::check() && $is_following == true) - @elseif ($is_following == false) + @elseif (Auth::check() && $is_following == false)