mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
PM-21605 Remove Login text from error notification (#14767)
This commit is contained in:
@@ -48,6 +48,7 @@ export function NotificationConfirmationBody({
|
||||
? NotificationConfirmationMessage({
|
||||
buttonAria,
|
||||
buttonText,
|
||||
error,
|
||||
itemName,
|
||||
message: confirmationMessage,
|
||||
messageDetails,
|
||||
|
||||
@@ -8,6 +8,7 @@ import { spacing, themes, typography } from "../../constants/styles";
|
||||
export type NotificationConfirmationMessageProps = {
|
||||
buttonAria?: string;
|
||||
buttonText?: string;
|
||||
error?: string;
|
||||
itemName?: string;
|
||||
message?: string;
|
||||
messageDetails?: string;
|
||||
@@ -18,6 +19,7 @@ export type NotificationConfirmationMessageProps = {
|
||||
export function NotificationConfirmationMessage({
|
||||
buttonAria,
|
||||
buttonText,
|
||||
error,
|
||||
itemName,
|
||||
message,
|
||||
messageDetails,
|
||||
@@ -29,7 +31,11 @@ export function NotificationConfirmationMessage({
|
||||
${message || buttonText
|
||||
? html`
|
||||
<div class=${singleLineWrapperStyles}>
|
||||
<span class=${itemNameStyles(theme)} title=${itemName}> ${itemName} </span>
|
||||
${!error && itemName
|
||||
? html`
|
||||
<span class=${itemNameStyles(theme)} title=${itemName}> ${itemName} </span>
|
||||
`
|
||||
: nothing}
|
||||
<span
|
||||
title=${message || buttonText}
|
||||
class=${notificationConfirmationMessageStyles(theme)}
|
||||
|
||||
Reference in New Issue
Block a user