Fix startIndex bug.

This commit is contained in:
Dermot Duffy
2022-04-10 08:41:29 -07:00
parent b908f4dbc9
commit fbb96a43be
+1 -1
View File
@@ -107,7 +107,7 @@ export class FrigateCardThumbnailCarousel extends FrigateCardCarousel {
return {
containScroll: 'keepSnaps',
dragFree: true,
startIndex: this._selected ?? undefined,
startIndex: this._selected ?? 0,
};
}