From 0e2b65565314eb319c78a15fd865550f458a6c81 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Mon, 17 Mar 2025 16:38:25 -0600 Subject: [PATCH] share menu updates --- .../features/ShareMenu/ShareMenuContent.tsx | 2 +- .../ShareMenu/ShareMenuContentBody.tsx | 8 +++---- .../MetricContainerHeaderButtons.tsx | 3 ++- .../MetricThreeDotMenu.tsx | 22 +++++++++++-------- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/web/src/components/features/ShareMenu/ShareMenuContent.tsx b/web/src/components/features/ShareMenu/ShareMenuContent.tsx index 8d0e6d6b6..8902533e7 100644 --- a/web/src/components/features/ShareMenu/ShareMenuContent.tsx +++ b/web/src/components/features/ShareMenu/ShareMenuContent.tsx @@ -1,5 +1,5 @@ import { type BusterShare, ShareAssetType, ShareRole } from '@/api/asset_interfaces'; -import React, { useMemo, useState } from 'react'; +import React, { useState } from 'react'; import { ShareMenuTopBar, ShareMenuTopBarOptions } from './ShareMenuTopBar'; import { ShareMenuContentBody } from './ShareMenuContentBody'; import { useMemoizedFn } from '@/hooks'; diff --git a/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx b/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx index c8c7dcff9..9b7b358de 100644 --- a/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx +++ b/web/src/components/features/ShareMenu/ShareMenuContentBody.tsx @@ -203,14 +203,14 @@ const ShareMenuContentShare: React.FC<{ )} - {hasUserTeams && ( + {/* {hasUserTeams && ( <> -
+ {hasIndividualPermissions &&
} - )} + )} */}
); } @@ -223,7 +223,7 @@ const ShareWithGroupAndTeamOption: React.FC<{ return (
+ className={cn('hover:bg-item-hover flex cursor-pointer items-center space-x-1.5')}>