1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +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

@@ -49,7 +49,7 @@
*ngFor="let c of collections$ | async"
[value]="c"
[label]="c.name"
icon="bwi-collection-shared"
[icon]="c.type === DefaultCollectionType ? 'bwi-user' : 'bwi-collection-shared'"
/>
</ng-container>
</bit-select>

View File

@@ -29,7 +29,11 @@ import { combineLatestWith, filter, map, switchMap, takeUntil } from "rxjs/opera
// This import has been flagged as unallowed for this class. It may be involved in a circular dependency loop.
// eslint-disable-next-line no-restricted-imports
import { CollectionService, CollectionView } from "@bitwarden/admin-console/common";
import {
CollectionService,
CollectionTypes,
CollectionView,
} from "@bitwarden/admin-console/common";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import {
getOrganizationById,
@@ -103,6 +107,8 @@ import { ImportLastPassComponent } from "./lastpass";
providers: ImporterProviders,
})
export class ImportComponent implements OnInit, OnDestroy, AfterViewInit {
DefaultCollectionType = CollectionTypes.DefaultUserCollection;
featuredImportOptions: ImportOption[];
importOptions: ImportOption[];
format: ImportType = null;