Fix startIndex bug.
This commit is contained in:
1 parent
b908f4dbc9
commit
fbb96a43be
1 file changed
+1
-1
@@ -107,7 +107,7 @@ export class FrigateCardThumbnailCarousel extends FrigateCardCarousel {
|
||||
return {
|
||||
containScroll: 'keepSnaps',
|
||||
dragFree: true,
|
||||
startIndex: this._selected ?? undefined,
|
||||
startIndex: this._selected ?? 0,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user