diff --git a/src/pages/AdminLandings.tsx b/src/pages/AdminLandings.tsx index ffcadee..440a906 100644 --- a/src/pages/AdminLandings.tsx +++ b/src/pages/AdminLandings.tsx @@ -413,7 +413,9 @@ export default function AdminLandings() { await copyToClipboard(url); notify.success(t('admin.landings.urlCopied')); } catch { - // Clipboard write failed silently + // The clipboard adapter already tries the legacy execCommand fallback; + // if we still failed, surface it so the admin doesn't think it worked. + notify.error(t('common.error')); } }; diff --git a/src/pages/AdminUserDetail.tsx b/src/pages/AdminUserDetail.tsx index 94cad7c..226c6e7 100644 --- a/src/pages/AdminUserDetail.tsx +++ b/src/pages/AdminUserDetail.tsx @@ -1261,7 +1261,11 @@ export default function AdminUserDetail() { try { await copyText(text); notify.success(t('admin.users.detail.copied')); - } catch {} + } catch { + // copy adapter already handles fallback + permission errors; surface + // the failure to the user instead of swallowing it silently. + notify.error(t('common.error')); + } }; if (loading) {