1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

only allow for new folders when on the folder screen (#10489)

This commit is contained in:
Nick Krantz 2024-08-12 16:25:43 -05:00 committed by GitHub
parent 0d829b7398
commit b2db633714
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,10 @@
<popup-page>
<popup-header slot="header" [pageTitle]="'folders' | i18n" showBackButton>
<ng-container slot="end">
<app-new-item-dropdown></app-new-item-dropdown>
<button bitButton buttonType="primary" type="button" (click)="openAddEditFolderDialog()">
<i class="bwi bwi-plus-f" aria-hidden="true"></i>
{{ "new" | i18n }}
</button>
<app-pop-out></app-pop-out>
</ng-container>
</popup-header>

View File

@ -23,7 +23,6 @@ import {
AddEditFolderDialogComponent,
AddEditFolderDialogData,
} from "../components/vault-v2/add-edit-folder-dialog/add-edit-folder-dialog.component";
import { NewItemDropdownV2Component } from "../components/vault-v2/new-item-dropdown/new-item-dropdown-v2.component";
@Component({
standalone: true,
@ -31,7 +30,6 @@ import { NewItemDropdownV2Component } from "../components/vault-v2/new-item-drop
imports: [
CommonModule,
JslibModule,
NewItemDropdownV2Component,
PopOutComponent,
PopupPageComponent,
PopupHeaderComponent,