1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 19:23:52 +00:00

[PM-24951] - update "My Items" icon to bwi-user (#16674)

* update "My Items" icon to bwi-user

* fix tests

* revert changse to reports. fix assign collections.

* revert remaining changes to reports
This commit is contained in:
Jordan Aasen
2025-10-02 14:39:13 -07:00
committed by GitHub
parent 83c457920e
commit 7a38b22667
11 changed files with 63 additions and 18 deletions

View File

@@ -330,7 +330,8 @@ export class AssignCollectionsComponent implements OnInit, OnDestroy, AfterViewI
);
})
.map((c) => ({
icon: "bwi-collection-shared",
icon:
c.type === CollectionTypes.DefaultUserCollection ? "bwi-user" : "bwi-collection-shared",
id: c.id,
labelName: c.name,
listName: c.name,
@@ -371,7 +372,7 @@ export class AssignCollectionsComponent implements OnInit, OnDestroy, AfterViewI
collection.id !== this.params.activeCollection?.id,
)
.map((collection) => ({
icon: "bwi-collection-shared",
icon: collection.icon,
id: collection.id,
labelName: collection.labelName,
listName: collection.listName,
@@ -435,7 +436,8 @@ export class AssignCollectionsComponent implements OnInit, OnDestroy, AfterViewI
)
.subscribe((collections) => {
this.availableCollections = collections.map((c) => ({
icon: "bwi-collection-shared",
icon:
c.type === CollectionTypes.DefaultUserCollection ? "bwi-user" : "bwi-collection-shared",
id: c.id,
labelName: c.name,
listName: c.name,