Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit 75a686d

Browse files
committed
fix: IRIs represented as {"@id": "..."}
1 parent 6aa1a2d commit 75a686d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/osf-components/addon/components/search-page/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export default class SearchPage extends Component<SearchArgs> {
263263
this.nextPageCursor = searchResult.nextPageCursor;
264264
this.prevPageCursor = searchResult.prevPageCursor;
265265
this.searchResults = searchResult.searchResultPage.toArray();
266-
this.totalResultCount = searchResult.totalResultCount === ShareMoreThanTenThousand ? '10,000+' :
266+
this.totalResultCount = searchResult.totalResultCount['@id'] === ShareMoreThanTenThousand ? '10,000+' :
267267
searchResult.totalResultCount;
268268
} catch (e) {
269269
this.toast.error(e);

0 commit comments

Comments
 (0)