mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-09 21:16:18 +08:00
Fix credentials double appearing
This commit is contained in:
parent
f3b945454f
commit
295db40ef9
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@ angular.module('passmanApp')
|
||||||
for (var ct = 0; ct < c.tags_raw.length; ct++) {
|
for (var ct = 0; ct < c.tags_raw.length; ct++) {
|
||||||
var t = c.tags_raw[ct];
|
var t = c.tags_raw[ct];
|
||||||
if(tags.indexOf(t.text) != -1){
|
if(tags.indexOf(t.text) != -1){
|
||||||
_credentials.push(c);
|
if(_credentials.indexOf(c) === -1){
|
||||||
|
_credentials.push(c);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue