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-page>
|
||||||
<popup-header slot="header" [pageTitle]="'folders' | i18n" showBackButton>
|
<popup-header slot="header" [pageTitle]="'folders' | i18n" showBackButton>
|
||||||
<ng-container slot="end">
|
<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>
|
<app-pop-out></app-pop-out>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</popup-header>
|
</popup-header>
|
||||||
|
@ -23,7 +23,6 @@ import {
|
|||||||
AddEditFolderDialogComponent,
|
AddEditFolderDialogComponent,
|
||||||
AddEditFolderDialogData,
|
AddEditFolderDialogData,
|
||||||
} from "../components/vault-v2/add-edit-folder-dialog/add-edit-folder-dialog.component";
|
} 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({
|
@Component({
|
||||||
standalone: true,
|
standalone: true,
|
||||||
@ -31,7 +30,6 @@ import { NewItemDropdownV2Component } from "../components/vault-v2/new-item-drop
|
|||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
JslibModule,
|
JslibModule,
|
||||||
NewItemDropdownV2Component,
|
|
||||||
PopOutComponent,
|
PopOutComponent,
|
||||||
PopupPageComponent,
|
PopupPageComponent,
|
||||||
PopupHeaderComponent,
|
PopupHeaderComponent,
|
||||||
|
Loading…
Reference in New Issue
Block a user