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 committed Nov 19, 2023
1 parent 65fe97f commit d57ecbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,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 d57ecbb

Please sign in to comment.