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:
parent
0d829b7398
commit
b2db633714
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user