mirror of
https://github.com/bitwarden/browser
synced 2026-02-08 20:50:28 +00:00
do not render at-risk notification footer if there is no password change uri
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { html } from "lit";
|
||||
import { html, nothing } from "lit";
|
||||
|
||||
import { ThemeTypes } from "@bitwarden/common/platform/enums";
|
||||
|
||||
@@ -50,11 +50,13 @@ export function AtRiskNotification({
|
||||
organizationName,
|
||||
),
|
||||
})}
|
||||
${AtRiskNotificationFooter({
|
||||
i18n,
|
||||
theme,
|
||||
passwordChangeUri: params?.passwordChangeUri,
|
||||
})}
|
||||
${passwordChangeUri
|
||||
? AtRiskNotificationFooter({
|
||||
i18n,
|
||||
theme,
|
||||
passwordChangeUri: params?.passwordChangeUri,
|
||||
})
|
||||
: nothing}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user