mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
UIF - Prefer signal & change detection (#16940)
This commit is contained in:
@@ -3,7 +3,7 @@ import { Injectable, signal } from "@angular/core";
|
||||
|
||||
@Injectable({ providedIn: "root" })
|
||||
export class DrawerService {
|
||||
private _portal = signal<Portal<unknown> | undefined>(undefined);
|
||||
private readonly _portal = signal<Portal<unknown> | undefined>(undefined);
|
||||
|
||||
/** The portal to display */
|
||||
portal = this._portal.asReadonly();
|
||||
|
||||
Reference in New Issue
Block a user