Skip to content

Commit 833db50

Browse files
author
Alexa Snyder
committed
update comment
1 parent 9c0de88 commit 833db50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/lib/src/admin/components/asset-list/asset-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ export class AssetListComponent implements OnInit {
6666
let options: ListArgs<Asset> = {
6767
filters: { Type: assetType },
6868
};
69+
// TODO: ListAssets will not accept search as a parameter, refactor for client side searching
6970
if (searchTerm) {
7071
options = { ...options, search: searchTerm, searchOn: ['Title'] };
7172
}
7273
return HeadStartSDK.Assets.ListAssets(this.resourceType, this.resourceID, options)
73-
// TODO: remove filter below once Oliver fixes options parameter
7474
.then((response) => this.assets = response.Items ? response.Items.filter(asset => asset.Type === assetType) : [])
7575
.catch((ex) => ex)
7676
.finally(() => {

0 commit comments

Comments
 (0)