mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
only allow for new folders when on the folder screen (#10489)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user