mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-01 21:10:49 +08:00
refactor(billing): Remove obsolete unified upgrade change
This commit is contained in:
parent
bc5e3c4265
commit
79aa43f2a6
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user