diff options
author | flo-mic <florianmichel@hotmail.de> | 2021-03-01 21:45:17 +0300 |
---|---|---|
committer | flo-mic <florianmichel@hotmail.de> | 2021-03-01 21:45:17 +0300 |
commit | 6eff479a70ca68850a62d706c73e1acab8435f9c (patch) | |
tree | 81eb1c5a9332322ae6fa20b0a847e21f3b1e2efc | |
parent | 974a65efbea888ad3f771a71f7a157855e3a7d98 (diff) |
fix setting not persitent
-rw-r--r-- | src/vue/Components/List/Item/Password.vue | 2 | ||||
-rw-r--r-- | src/vue/Components/Options/Settings.vue | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/vue/Components/List/Item/Password.vue b/src/vue/Components/List/Item/Password.vue index ab3e4f4..0f1b21f 100644 --- a/src/vue/Components/List/Item/Password.vue +++ b/src/vue/Components/List/Item/Password.vue @@ -95,7 +95,7 @@ }, getLabel() { var result = this.password.getLabel(); - if(PasswordSettingsManager.getShowUserInList()) { + if(PasswordSettingsManager.getShowUserInList() && this.password.getUserName() !== "") { result = result + " - " + this.password.getUserName(); } return result; diff --git a/src/vue/Components/Options/Settings.vue b/src/vue/Components/Options/Settings.vue index 5fd8334..c284bab 100644 --- a/src/vue/Components/Options/Settings.vue +++ b/src/vue/Components/Options/Settings.vue @@ -153,6 +153,7 @@ this.getSetting('search.recommendation.maxRows', 'recSearchRows'); this.getSetting('clipboard.clear.passwords', 'clearClipboard'); this.getSetting('clipboard.clear.delay', 'clearClipboardDelay'); + this.getSetting('password.list.show.user', 'showUserInList'); }, async getSetting(name, variable) { try { |