fixed a js error

This commit is contained in:
antelle 2021-01-02 10:40:24 +01:00
parent ef812c5697
commit 2ec37c3ece
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 3 additions and 0 deletions

View File

@ -491,6 +491,9 @@ class DetailsView extends View {
}
copyPasswordFromShortcut(e) {
if (!this.model) {
return;
}
if (this.model.external) {
this.copyOtp();
e.preventDefault();