mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 19:04:01 +00:00
Vault - Prefer signal & change detection (#16947)
This commit is contained in:
@@ -25,14 +25,14 @@ export class IconComponent {
|
||||
/**
|
||||
* The cipher to display the icon for.
|
||||
*/
|
||||
cipher = input.required<CipherViewLike>();
|
||||
readonly cipher = input.required<CipherViewLike>();
|
||||
|
||||
/**
|
||||
* coloredIcon will adjust the size of favicons and the colors of the text icon when user is in the item details view.
|
||||
*/
|
||||
coloredIcon = input<boolean>(false);
|
||||
readonly coloredIcon = input<boolean>(false);
|
||||
|
||||
imageLoaded = signal(false);
|
||||
readonly imageLoaded = signal(false);
|
||||
|
||||
protected data$: Observable<CipherIconDetails>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user