Skip to content

Commit 7dab507

Browse files
adjust name
1 parent ac2b755 commit 7dab507

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/desktop/src/vault/app/vault/view.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const BroadcasterSubscriptionId = "ViewComponent";
4747
})
4848
export class ViewComponent extends BaseViewComponent implements OnInit, OnDestroy, OnChanges {
4949
@Output() onViewCipherPasswordHistory = new EventEmitter<CipherView>();
50-
@Input() passwordPrompted: boolean = false;
50+
@Input() masterPasswordAlreadyPrompted: boolean = false;
5151

5252
constructor(
5353
cipherService: CipherService,
@@ -122,7 +122,7 @@ export class ViewComponent extends BaseViewComponent implements OnInit, OnDestro
122122
}
123123
});
124124
});
125-
this.passwordReprompted = this.passwordPrompted;
125+
this.passwordReprompted = this.masterPasswordAlreadyPrompted;
126126
}
127127

128128
ngOnDestroy() {
@@ -137,7 +137,7 @@ export class ViewComponent extends BaseViewComponent implements OnInit, OnDestro
137137
});
138138
return;
139139
}
140-
this.passwordReprompted = this.passwordPrompted;
140+
this.passwordReprompted = this.masterPasswordAlreadyPrompted;
141141
}
142142

143143
viewHistory() {

0 commit comments

Comments
 (0)