From f2781825804039b5ca68466bec7054b8d9ccce5d Mon Sep 17 00:00:00 2001 From: vnugent Date: Fri, 8 Sep 2023 17:27:10 -0400 Subject: upstream theme updates and patches --- front-end/src/views/Blog/components/Posts/PostEdit.vue | 2 +- front-end/src/views/Blog/components/Posts/PostTable.vue | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'front-end/src/views/Blog/components') diff --git a/front-end/src/views/Blog/components/Posts/PostEdit.vue b/front-end/src/views/Blog/components/Posts/PostEdit.vue index 724a8d7..e55deee 100644 --- a/front-end/src/views/Blog/components/Posts/PostEdit.vue +++ b/front-end/src/views/Blog/components/Posts/PostEdit.vue @@ -132,7 +132,7 @@ const onDelete = async () => { const setMeAsAuthor = () => { apiCall(async () => { const { first, last } = await getProfile<{first?:string, last?:string, email:string}>(); - v$.value.author.$model = `${first} ${last}` + v$.value.author.$model = `${first ?? ''} ${last ?? ''}` }) } diff --git a/front-end/src/views/Blog/components/Posts/PostTable.vue b/front-end/src/views/Blog/components/Posts/PostTable.vue index 734d340..96c511c 100644 --- a/front-end/src/views/Blog/components/Posts/PostTable.vue +++ b/front-end/src/views/Blog/components/Posts/PostTable.vue @@ -39,10 +39,11 @@ \ No newline at end of file -- cgit