1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

move NoFolders icon to vault library

This commit is contained in:
Nick Krantz
2024-08-08 13:39:55 -05:00
parent 28a2014e69
commit f949170fd1
5 changed files with 6 additions and 4 deletions

View File

@@ -10,8 +10,8 @@ import {
ButtonModule, ButtonModule,
DialogService, DialogService,
IconButtonModule, IconButtonModule,
Icons,
} from "@bitwarden/components"; } from "@bitwarden/components";
import { VaultIcons } from "@bitwarden/vault";
import { ItemGroupComponent } from "../../../../../../libs/components/src/item/item-group.component"; import { ItemGroupComponent } from "../../../../../../libs/components/src/item/item-group.component";
import { ItemModule } from "../../../../../../libs/components/src/item/item.module"; 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 { export class FoldersV2Component {
folders$: Observable<FolderView[]>; folders$: Observable<FolderView[]>;
NoFoldersIcon = Icons.NoFolders; NoFoldersIcon = VaultIcons.NoFolders;
constructor( constructor(
private folderService: FolderService, private folderService: FolderService,

View File

@@ -3,4 +3,3 @@ export * from "./search";
export * from "./no-access"; export * from "./no-access";
export * from "./vault"; export * from "./vault";
export * from "./no-results"; export * from "./no-results";
export * from "./no-folders";

View File

@@ -0,0 +1 @@
export * from "./no-folders";

View File

@@ -1,4 +1,4 @@
import { svgIcon } from "../icon"; import { svgIcon } from "@bitwarden/components";
export const NoFolders = svgIcon` export const NoFolders = svgIcon`
<svg width="147" height="91" viewBox="0 0 147 91" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="147" height="91" viewBox="0 0 147 91" fill="none" xmlns="http://www.w3.org/2000/svg">

View File

@@ -12,3 +12,5 @@ export {
} from "./components/assign-collections.component"; } from "./components/assign-collections.component";
export { DownloadAttachmentComponent } from "./components/download-attachment/download-attachment.component"; export { DownloadAttachmentComponent } from "./components/download-attachment/download-attachment.component";
export * as VaultIcons from "./icons";