Skip to content

Commit b05c363

Browse files
authored
Merge pull request #1642 from pagopa/align/290126
align-develop 290126
2 parents fbb2723 + 87a233f commit b05c363

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "interop-dashboard-frontend",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"type": "module",
55
"scripts": {
66
"dev": "vite",

src/components/sidebar/InteropSidebarItems.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const InteropSidebarItems: React.FC<InteropSidebarItems> = ({ routes }) =
3030
const { t } = useTranslation('sidebar')
3131

3232
const pathname = useCurrentRoute().routeKey
33-
const { jwt, isAdmin } = AuthHooks.useJwt()
33+
const { jwt, isAdmin, isSupport } = AuthHooks.useJwt()
3434

3535
const selfcareUsersPageUrl =
3636
jwt && `${SELFCARE_BASE_URL}/dashboard/${jwt.selfcareId}/users#${getCurrentSelfCareProductId()}`
@@ -46,6 +46,7 @@ export const InteropSidebarItems: React.FC<InteropSidebarItems> = ({ routes }) =
4646
const { data: inAppNotificationCount } = useQuery({
4747
...NotificationQueries.getInAppNotificationsCount(),
4848
refetchInterval: NOTIFICATION_COUNT_REFRESH_INTERVAL,
49+
enabled: !isSupport,
4950
})
5051

5152
const handleExpandParent = (routeKey: RouteKey) => {

0 commit comments

Comments
 (0)