mirror of
https://github.com/bitwarden/web
synced 2026-01-06 18:43:18 +00:00
* Fix modal-body div missing #583
* Revert "Fix modal-body div missing #583"
This reverts commit 38f0cae82d.
* Fixing modal-body div missing #583
This commit is contained in:
@@ -85,7 +85,7 @@ export class CollectionsComponent implements OnInit {
|
||||
}
|
||||
|
||||
loadMore() {
|
||||
if (this.collections.length <= this.pageSize) {
|
||||
if (!this.collections || this.collections.length <= this.pageSize) {
|
||||
return;
|
||||
}
|
||||
const pagedLength = this.pagedCollections.length;
|
||||
@@ -185,7 +185,7 @@ export class CollectionsComponent implements OnInit {
|
||||
if (searching && this.didScroll) {
|
||||
this.resetPaging();
|
||||
}
|
||||
return !searching && this.collections.length > this.pageSize;
|
||||
return !searching && this.collections && this.collections.length > this.pageSize;
|
||||
}
|
||||
|
||||
private removeCollection(collection: CollectionView) {
|
||||
|
||||
Reference in New Issue
Block a user