Skip to content

Commit

Permalink
Ensure we always have a display name for custom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyrat committed Mar 4, 2024
1 parent f8b5408 commit 43b6283
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
4 changes: 4 additions & 0 deletions lib/src/kee_vault_model/field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ class Field {
ffValue = '{USERNAME}';
}

if (displayName?.isEmpty ?? true) {
displayName = uuid;
}

if (ffValue != '') {
return BrowserFieldModelV1(
name: htmlName,
Expand Down
Loading

0 comments on commit 43b6283

Please sign in to comment.