From 5dc2a9c728954b0accb50673daa661e1131013d7 Mon Sep 17 00:00:00 2001 From: Nick Krantz Date: Thu, 8 Aug 2024 14:18:23 -0500 Subject: [PATCH] move Vault icon to vault library --- .../src/vault/popup/components/vault/vault-v2.component.ts | 2 +- libs/vault/src/icons/index.ts | 1 + libs/{components/src/icon => vault/src}/icons/vault.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename libs/{components/src/icon => vault/src}/icons/vault.ts (99%) diff --git a/apps/browser/src/vault/popup/components/vault/vault-v2.component.ts b/apps/browser/src/vault/popup/components/vault/vault-v2.component.ts index d577748dd7..97f028895b 100644 --- a/apps/browser/src/vault/popup/components/vault/vault-v2.component.ts +++ b/apps/browser/src/vault/popup/components/vault/vault-v2.component.ts @@ -74,7 +74,7 @@ export class VaultV2Component implements OnInit, OnDestroy { /** Visual state of the vault */ protected vaultState: VaultState | null = null; - protected vaultIcon = Icons.Vault; + protected vaultIcon = VaultIcons.Vault; protected deactivatedIcon = VaultIcons.DeactivatedOrg; protected noResultsIcon = Icons.NoResults; diff --git a/libs/vault/src/icons/index.ts b/libs/vault/src/icons/index.ts index 7bee7ec6ba..3bb5c285fb 100644 --- a/libs/vault/src/icons/index.ts +++ b/libs/vault/src/icons/index.ts @@ -1,2 +1,3 @@ export * from "./deactivated-org"; export * from "./no-folders"; +export * from "./vault"; diff --git a/libs/components/src/icon/icons/vault.ts b/libs/vault/src/icons/vault.ts similarity index 99% rename from libs/components/src/icon/icons/vault.ts rename to libs/vault/src/icons/vault.ts index 21e0eda016..4afe0920f7 100644 --- a/libs/components/src/icon/icons/vault.ts +++ b/libs/vault/src/icons/vault.ts @@ -1,4 +1,4 @@ -import { svgIcon } from "../icon"; +import { svgIcon } from "@bitwarden/components"; export const Vault = svgIcon`