From 6026998c1d328f7b077f985adf244f5fb63c70d1 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 24 Mar 2020 22:16:51 -0600 Subject: [PATCH] Update PostComponent.vue, remove like count from title, fixes #2091 --- resources/assets/js/components/PostComponent.vue | 1 - resources/views/status/show.blade.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index bcb82058..52969d83 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -711,7 +711,6 @@ export default { this.fetchComments(); } this.loaded = true; - $('head title').text(this.status.account.username + ' posted a photo: ' + this.status.favourites_count + ' likes'); }).catch(error => { swal('Oops!', 'An error occured, please try refreshing the page.', 'error'); }); diff --git a/resources/views/status/show.blade.php b/resources/views/status/show.blade.php index 73bf8230..facc0ba8 100644 --- a/resources/views/status/show.blade.php +++ b/resources/views/status/show.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.app',['title' => "A post by " . $user->username]) +@extends('layouts.app',['title' => "{$user->username} shared a photo"]) @section('content')