Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflo-mic <florianmichel@hotmail.de>2021-03-01 21:45:17 +0300
committerflo-mic <florianmichel@hotmail.de>2021-03-01 21:45:17 +0300
commit6eff479a70ca68850a62d706c73e1acab8435f9c (patch)
tree81eb1c5a9332322ae6fa20b0a847e21f3b1e2efc
parent974a65efbea888ad3f771a71f7a157855e3a7d98 (diff)
fix setting not persitent
-rw-r--r--src/vue/Components/List/Item/Password.vue2
-rw-r--r--src/vue/Components/Options/Settings.vue1
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 {