mirror of
https://github.com/bitwarden/browser
synced 2026-02-27 10:03:23 +00:00
refactor variable to avoid using is prefix
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
>
|
||||
<bit-item slot="attachment-button">
|
||||
<button
|
||||
[disabled]="isAttachmentsButtonDisabled"
|
||||
[disabled]="attachmentsButtonDisabled"
|
||||
bit-item-content
|
||||
type="button"
|
||||
(click)="openAttachmentsDialog()"
|
||||
|
||||
@@ -273,7 +273,7 @@ export class VaultItemDialogComponent implements OnInit, OnDestroy {
|
||||
|
||||
protected canDelete = false;
|
||||
|
||||
protected isAttachmentsButtonDisabled = false;
|
||||
protected attachmentsButtonDisabled = false;
|
||||
|
||||
constructor(
|
||||
@Inject(DIALOG_DATA) protected params: VaultItemDialogParams,
|
||||
@@ -344,7 +344,7 @@ export class VaultItemDialogComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
formStatusChanged(status: "disabled" | "enabled") {
|
||||
this.isAttachmentsButtonDisabled = status === "disabled";
|
||||
this.attachmentsButtonDisabled = status === "disabled";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user