mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
refactor(billing): Remove obsolete unified upgrade change
This commit is contained in:
@@ -85,11 +85,6 @@ export class UnifiedUpgradePromptService {
|
||||
* @returns A promise that resolves to the dialog result if shown, or null if not shown
|
||||
*/
|
||||
async displayUpgradePromptConditionally(): Promise<UnifiedUpgradeDialogResult | null> {
|
||||
// Prevent opening multiple dialogs if one is already open
|
||||
if (this.unifiedUpgradeDialogRef) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const shouldShow = await firstValueFrom(this.shouldShowPrompt$);
|
||||
|
||||
if (shouldShow) {
|
||||
|
||||
Reference in New Issue
Block a user