From 37e0a7d3f2777b1f05824ebd99f0f6f3d7bae7be Mon Sep 17 00:00:00 2001 From: Andrew Trieu Date: Sat, 23 Nov 2024 17:22:37 +0200 Subject: [PATCH] feat: Update image source paths to use S3 public URL for profile and task attachments --- tasker-client/src/app/components/Navbar/index.tsx | 2 +- tasker-client/src/app/components/Sidebar/index.tsx | 9 +++++++-- tasker-client/src/app/components/TaskCard/index.tsx | 2 +- tasker-client/src/app/components/UserCard/index.tsx | 2 +- tasker-client/src/app/projects/BoardView/index.tsx | 6 +++--- tasker-client/src/app/users/page.tsx | 2 +- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/tasker-client/src/app/components/Navbar/index.tsx b/tasker-client/src/app/components/Navbar/index.tsx index f8e5a68..0453a9e 100644 --- a/tasker-client/src/app/components/Navbar/index.tsx +++ b/tasker-client/src/app/components/Navbar/index.tsx @@ -77,7 +77,7 @@ const Navbar = () => {
{!!currentUserDetails?.profilePictureUrl ? ( {currentUserDetails?.username { )}
- logo + logo

Tasker.IO @@ -157,7 +162,7 @@ const Sidebar = () => {
{!!currentUserDetails?.profilePictureUrl ? ( {currentUserDetails?.username {
{task.attachments && task.attachments.length > 0 && ( {task.attachments[0].fileName} {
{user.profilePictureUrl && ( profile picture { > {task.attachments && task.attachments.length > 0 && ( {task.attachments[0].fileName} { {task.assignee && ( {task.assignee.username} { {task.author && ( {task.author.username}