@internetarchive/collection-browser 2.13.2-alpha-webdev7687.4 → 2.13.2-alpha-webdev7687.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,7 +50,7 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
50
50
  selectedSort: SortField;
51
51
  selectedTitleFilter: string | null;
52
52
  selectedCreatorFilter: string | null;
53
- tvClipFilter?: TvClipFilterType;
53
+ tvClipFilter: TvClipFilterType;
54
54
  sortDirection: SortDirection | null;
55
55
  defaultSortField: Exclude<SortField, SortField.default>;
56
56
  defaultSortDirection: SortDirection | null;
@@ -1476,7 +1476,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
1476
1476
  this.restoreState();
1477
1477
  }
1478
1478
  restoreState() {
1479
- var _a, _b, _c, _d, _e;
1479
+ var _a, _b, _c, _d, _e, _f;
1480
1480
  const restorationState = this.restorationStateHandler.getRestorationState();
1481
1481
  this.displayMode = restorationState.displayMode;
1482
1482
  if (restorationState.searchType != null)
@@ -1491,7 +1491,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
1491
1491
  this.currentPage = (_e = restorationState.currentPage) !== null && _e !== void 0 ? _e : 1;
1492
1492
  this.minSelectedDate = restorationState.minSelectedDate;
1493
1493
  this.maxSelectedDate = restorationState.maxSelectedDate;
1494
- this.tvClipFilter = restorationState.tvClipFilter;
1494
+ this.tvClipFilter = (_f = restorationState.tvClipFilter) !== null && _f !== void 0 ? _f : 'all';
1495
1495
  if (this.currentPage > 1) {
1496
1496
  this.goToPage(this.currentPage);
1497
1497
  }