1
0
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:
Nick Krantz
2025-08-19 13:13:48 -05:00
parent 4257bb1691
commit fd880aa09f
4 changed files with 7 additions and 7 deletions

View File

@@ -20,7 +20,7 @@
>
<bit-item slot="attachment-button">
<button
[disabled]="isAttachmentsButtonDisabled"
[disabled]="attachmentsButtonDisabled"
bit-item-content
type="button"
(click)="openAttachmentsDialog()"

View File

@@ -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";
}
/**