fix(cloud): MFA toast uses a plain button; toasts no longer take a Copy link source

This commit is contained in:
Neil
2026-11-13 00:12:10 -08:00
parent c055544ad3
commit 18a79bcf4b
2 changed files with 3 additions and 3 deletions
@@ -77,7 +77,7 @@ export const toast = frame(
{
key: 'mfa',
text: 'Acme Engineering requires MFA from December 2, 2026.',
action: { label: 'Set up MFA', primary: true, link: setupUrl, onClick: noop }
action: { label: 'Set up MFA', primary: true, onClick: noop }
}
]
}}
@@ -42,8 +42,8 @@ export function TeamMfaSidebarBanner(): React.JSX.Element | null {
action: {
label: t('auto.components.teamMfa.setUp', 'Set up MFA'),
primary: true,
// Opens the account page in the browser, so the chevron offers Copy link.
link: toast.setupUrl,
// A plain button: toasts no longer carry a Copy link chevron (AUTH-ONLY-COPY-LINK).
// The sidebar card and Settings, Account keep the split button.
onClick: () => {
void window.api.shell.openUrl(toast.setupUrl)
hideCloudToast(id)