mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
move NoFolders icon to vault library
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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";
|
|
||||||
|
|||||||
1
libs/vault/src/icons/index.ts
Normal file
1
libs/vault/src/icons/index.ts
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from "./no-folders";
|
||||||
@@ -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">
|
||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user