Skip to content

Commit

Permalink
feat(project-details): image processing status text update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sujit committed Oct 9, 2024
1 parent 6f3d1d7 commit 75f99b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Legend = () => {
</div>
<div className="naxatw-flex naxatw-gap-2">
<div className="naxatw-h-5 naxatw-w-5 naxatw-bg-[#9C77B2] naxatw-opacity-60" />
<div className="naxatw-text-sm">Image Uploaded</div>
<div className="naxatw-text-sm">Image Processing</div>
</div>
<div className="naxatw-flex naxatw-gap-2">
<div className="naxatw-h-5 naxatw-w-5 naxatw-bg-[#F3C5C5]" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ const MapSection = ({ projectData }: { projectData: Record<string, any> }) => {
case 'UNFLYABLE_TASK':
return 'This task is not flyable';
case 'IMAGE_UPLOADED':
return `This Task's Images has been uploaded ${properties.locked_user_name ? `by ${userDetails?.id === properties?.locked_user_id ? 'you' : properties?.locked_user_name}` : ''}`;
return `This task's Images has been uploaded ${properties.locked_user_name ? `by ${userDetails?.id === properties?.locked_user_id ? 'you' : properties?.locked_user_name}` : ''}`;
case 'IMAGE_PROCESSED':
return `This Task is completed ${properties.locked_user_name ? `by ${userDetails?.id === properties?.locked_user_id ? 'you' : properties?.locked_user_name}` : ''}`;
return `This task is completed ${properties.locked_user_name ? `by ${userDetails?.id === properties?.locked_user_id ? 'you' : properties?.locked_user_name}` : ''}`;

default:
return '';
Expand Down

0 comments on commit 75f99b8

Please sign in to comment.