Skip to content

Commit

Permalink
🐛 Remove extra link from empty task drawer
Browse files Browse the repository at this point in the history
On the task drawer's empty state, remove the
"View all tasks" link from the empty state. The
link is already available in the task drawer
header.

Resolves: https://issues.redhat.com/browse/MTA-3220
Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Aug 30, 2024
1 parent 236cf63 commit 62b4022
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions client/src/app/components/task-manager/TaskManagerDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import {
DropdownItem,
DropdownList,
EmptyState,
EmptyStateActions,
EmptyStateBody,
EmptyStateFooter,
EmptyStateHeader,
EmptyStateIcon,
EmptyStateVariant,
Expand Down Expand Up @@ -101,11 +99,6 @@ export const TaskManagerDrawer: React.FC<TaskManagerDrawerProps> = forwardRef(
running. Completed and cancelled tasks may be viewed on the full
task list.
</EmptyStateBody>
<EmptyStateFooter>
<EmptyStateActions>
<Link to="/tasks">View All Tasks</Link>
</EmptyStateActions>
</EmptyStateFooter>
</EmptyState>
) : (
<NotificationDrawerList>
Expand Down

0 comments on commit 62b4022

Please sign in to comment.