Skip to content

Commit

Permalink
border indicating task running is removed from last 24 hours section
Browse files Browse the repository at this point in the history
  • Loading branch information
desperado1802 committed Oct 20, 2023
1 parent 6e51a50 commit 644636b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export type ListItemProps = {
activeAuthTask: boolean
viewType?: "default" | "unassign"
profile?: IUserProfile
isNowTab?: boolean
}

export interface Props extends ListItemProps {}
Expand Down Expand Up @@ -259,7 +260,7 @@ const ListCardItem: React.FC<Props> = (props) => {
<Card
style={[
styles.cardContainer,
!dark && activeAuthTask && { borderColor: "#8C7AE4", borderWidth: 3 },
!dark && activeAuthTask && props.isNowTab && { borderColor: "#8C7AE4", borderWidth: 3 },
]}
>
{dark ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const UserProfileTasks: FC<IUserProfileTasks> = observer(({ profile, content })
<ListCardItem
task={profile.activeUserTeamTask}
isAuthUser={profile.isAuthUser}
isNowTab={true}
isAssigned={true}
activeAuthTask={true}
profile={profile}
Expand Down

0 comments on commit 644636b

Please sign in to comment.