mirror of
https://github.com/bitwarden/browser
synced 2025-01-10 01:13:52 +01:00
[PM-15418] Remove bitItem and use plain bitLink button for opening generator history (#12208)
* Remove bitItem and use plain bitLink button for opening generator history * Revert desktop back to use bitItem --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
parent
0ff48aa345
commit
19663d9587
@ -6,6 +6,7 @@
|
||||
<button
|
||||
type="button"
|
||||
bitLink
|
||||
linkType="primary"
|
||||
bit-item-content
|
||||
aria-haspopup="true"
|
||||
(click)="openHistoryDialog()"
|
||||
|
@ -17,15 +17,7 @@ import {
|
||||
standalone: true,
|
||||
selector: "credential-generator",
|
||||
templateUrl: "credential-generator.component.html",
|
||||
imports: [
|
||||
DialogModule,
|
||||
ButtonModule,
|
||||
JslibModule,
|
||||
GeneratorModule,
|
||||
ItemModule,
|
||||
ButtonModule,
|
||||
LinkModule,
|
||||
],
|
||||
imports: [DialogModule, ButtonModule, JslibModule, GeneratorModule, ItemModule, LinkModule],
|
||||
})
|
||||
export class CredentialGeneratorComponent {
|
||||
constructor(private dialogService: DialogService) {}
|
||||
|
@ -2,16 +2,13 @@
|
||||
|
||||
<bit-container>
|
||||
<tools-credential-generator />
|
||||
<bit-item>
|
||||
<button
|
||||
type="button"
|
||||
bitLink
|
||||
bit-item-content
|
||||
aria-haspopup="true"
|
||||
(click)="openHistoryDialog()"
|
||||
>
|
||||
{{ "generatorHistory" | i18n }}
|
||||
<i slot="end" class="bwi bwi-angle-right" aria-hidden="true"></i>
|
||||
</button>
|
||||
</bit-item>
|
||||
<button
|
||||
bitLink
|
||||
type="button"
|
||||
linkType="primary"
|
||||
aria-haspopup="true"
|
||||
(click)="openHistoryDialog()"
|
||||
>
|
||||
{{ "generatorHistory" | i18n }}
|
||||
</button>
|
||||
</bit-container>
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Component } from "@angular/core";
|
||||
|
||||
import { ButtonModule, DialogService, ItemModule, LinkModule } from "@bitwarden/components";
|
||||
import { ButtonModule, DialogService, LinkModule } from "@bitwarden/components";
|
||||
import {
|
||||
CredentialGeneratorHistoryDialogComponent,
|
||||
GeneratorModule,
|
||||
@ -13,7 +13,7 @@ import { SharedModule } from "../../shared";
|
||||
standalone: true,
|
||||
selector: "credential-generator",
|
||||
templateUrl: "credential-generator.component.html",
|
||||
imports: [SharedModule, HeaderModule, GeneratorModule, ItemModule, ButtonModule, LinkModule],
|
||||
imports: [SharedModule, HeaderModule, GeneratorModule, ButtonModule, LinkModule],
|
||||
})
|
||||
export class CredentialGeneratorComponent {
|
||||
constructor(private dialogService: DialogService) {}
|
||||
|
Loading…
Reference in New Issue
Block a user