mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-31 08:20:37 +01:00
filter for unassigned collection grouping
This commit is contained in:
parent
24bf1363ab
commit
551217ea38
@ -207,9 +207,16 @@
|
||||
resetSelected();
|
||||
$scope.selectedCollection = col;
|
||||
$scope.selectedIcon = 'fa-cube';
|
||||
if (col.id) {
|
||||
$scope.filter = function (c) {
|
||||
return c.collectionIds && c.collectionIds.indexOf(col.id) > -1;
|
||||
};
|
||||
}
|
||||
else {
|
||||
$scope.filter = function (c) {
|
||||
return !c.collectionIds || c.collectionIds.length === 0;
|
||||
};
|
||||
}
|
||||
fixLayout();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user