Skip to content

Commit

Permalink
fixup! AppendableDataPager: make it work in automatic mode
Browse files Browse the repository at this point in the history
  • Loading branch information
exyi authored and tomasherceg committed Feb 25, 2024
1 parent cdb1eb5 commit 4c1f8c1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -837,7 +837,7 @@ private void AddDataSetOptionsTranslations()

// _dataPager.Load()
AddMethodTranslator(() => default(DataPagerApi)!.Load(), new GenericMethodCompiler(args =>
dataSetHelper.Member("loadNextPage").Invoke().WithAnnotation(new ResultIsPromiseAnnotation(e => e))));
dataSetHelper.Clone().Member("loadNextPage").Invoke().WithAnnotation(new ResultIsPromiseAnnotation(e => e))));

// PagingOptions
AddMethodTranslator(() => default(PagingOptions)!.GoToFirstPage(),new GenericMethodCompiler(args =>
Expand Down

0 comments on commit 4c1f8c1

Please sign in to comment.