diff --git a/services/web/frontend/js/features/share-project-modal/components/link-sharing.tsx b/services/web/frontend/js/features/share-project-modal/components/link-sharing.tsx
index 7f73c83bd6..a5596cd418 100644
--- a/services/web/frontend/js/features/share-project-modal/components/link-sharing.tsx
+++ b/services/web/frontend/js/features/share-project-modal/components/link-sharing.tsx
@@ -313,7 +313,7 @@ function AccessToken({
return (
{link}
-
+
)
}
diff --git a/services/web/frontend/js/shared/components/copy-to-clipboard.tsx b/services/web/frontend/js/shared/components/copy-to-clipboard.tsx
index 6549a20b11..aae0529384 100644
--- a/services/web/frontend/js/shared/components/copy-to-clipboard.tsx
+++ b/services/web/frontend/js/shared/components/copy-to-clipboard.tsx
@@ -3,11 +3,12 @@ import { useTranslation } from 'react-i18next'
import OLButton from '@/shared/components/ol/ol-button'
import OLTooltip from '@/shared/components/ol/ol-tooltip'
import OLIconButton from '@/shared/components/ol/ol-icon-button'
+import MaterialIcon from '@/shared/components/material-icon'
export const CopyToClipboard = memo<{
content: string
tooltipId: string
- kind?: 'text' | 'icon'
+ kind?: 'text' | 'icon' | 'button'
unfilled?: boolean
onClick?: () => void
}>(({ content, tooltipId, kind = 'icon', unfilled = false, onClick }) => {
@@ -46,6 +47,20 @@ export const CopyToClipboard = memo<{
>
{t('copy')}
+ ) : kind === 'button' ? (
+
+ {copied ? (
+
+ ) : (
+
+ )}
+ {t('copy')}
+
) : (