mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[PM-10731] Move vault icons (#10453)
* move NoFolders icon to vault library
* move DeactivatedOrg icon to vault library
* move Vault icon to vault library
* move NoResults icon to vault library
* clean up barrel file
* Revert "move NoResults icon to vault library"
This reverts commit 43abd45db7.
* re-export no results
This commit is contained in:
@@ -8,6 +8,7 @@ import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||
import { CollectionId, OrganizationId } from "@bitwarden/common/types/guid";
|
||||
import { CipherType } from "@bitwarden/common/vault/enums";
|
||||
import { ButtonModule, Icons, NoItemsModule } from "@bitwarden/components";
|
||||
import { VaultIcons } from "@bitwarden/vault";
|
||||
|
||||
import { CurrentAccountComponent } from "../../../../auth/popup/account-switching/current-account.component";
|
||||
import { PopOutComponent } from "../../../../platform/popup/components/pop-out.component";
|
||||
@@ -73,8 +74,8 @@ export class VaultV2Component implements OnInit, OnDestroy {
|
||||
/** Visual state of the vault */
|
||||
protected vaultState: VaultState | null = null;
|
||||
|
||||
protected vaultIcon = Icons.Vault;
|
||||
protected deactivatedIcon = Icons.DeactivatedOrg;
|
||||
protected vaultIcon = VaultIcons.Vault;
|
||||
protected deactivatedIcon = VaultIcons.DeactivatedOrg;
|
||||
protected noResultsIcon = Icons.NoResults;
|
||||
|
||||
protected VaultStateEnum = VaultState;
|
||||
|
||||
@@ -10,8 +10,8 @@ import {
|
||||
ButtonModule,
|
||||
DialogService,
|
||||
IconButtonModule,
|
||||
Icons,
|
||||
} from "@bitwarden/components";
|
||||
import { VaultIcons } from "@bitwarden/vault";
|
||||
|
||||
import { ItemGroupComponent } from "../../../../../../libs/components/src/item/item-group.component";
|
||||
import { ItemModule } from "../../../../../../libs/components/src/item/item.module";
|
||||
@@ -46,7 +46,7 @@ import { NewItemDropdownV2Component } from "../components/vault-v2/new-item-drop
|
||||
export class FoldersV2Component {
|
||||
folders$: Observable<FolderView[]>;
|
||||
|
||||
NoFoldersIcon = Icons.NoFolders;
|
||||
NoFoldersIcon = VaultIcons.NoFolders;
|
||||
|
||||
constructor(
|
||||
private folderService: FolderService,
|
||||
|
||||
Reference in New Issue
Block a user