Skip to content

Commit

Permalink
hide "show all" on groups, closed and search tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Nov 13, 2024
1 parent 5fb5dd2 commit 9e5932d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/TicketsManagerTabs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ const TicketsManagerTabs = () => {
>
{i18n.t("ticketsManager.buttons.newTicket")}
</Button>
{ tab === "open" && (
<Can
role={user.profile}
perform="tickets-manager:showall"
Expand All @@ -288,6 +289,7 @@ const TicketsManagerTabs = () => {
/>
)}
/>
)}
</>
)}
<TicketsQueueSelect
Expand Down

0 comments on commit 9e5932d

Please sign in to comment.