Fixed incorrect toast messages on favorite (#17238)

This commit is contained in:
SmithThe4th 2025-11-05 17:06:52 -05:00 committed by GitHub
parent b13f1e6dcf
commit aabee1b827
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -291,7 +291,7 @@ export class ItemMoreOptionsComponent {
this.toastService.showToast({
variant: "success",
message: this.i18nService.t(
this.cipher.favorite ? "itemAddedToFavorites" : "itemRemovedFromFavorites",
cipher.favorite ? "itemAddedToFavorites" : "itemRemovedFromFavorites",
),
});
}