Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
Next Next commit
Use function params
  • Loading branch information
Luc-Mcgrady committed Jul 21, 2025
commit b0ed5495f8aef9fdb3ad44a2adecdc5373be39ac
4 changes: 2 additions & 2 deletions ts/routes/deck-options/FsrsOptions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
// If the cache is empty and a request has not yet been made to fill it
!retentionWorloadInfo ||
// If the parameters have been changed
lastParams.toString() !== fsrsParams($config).toString()
lastParams.toString() !== params.toString()
) {
const request = new GetRetentionWorkloadRequest({
w: params,
search: defaultparamSearch,
});
lastParams = [...fsrsParams($config)];
lastParams = [...params];
retentionWorloadInfo = getRetentionWorkload(request);
}

Expand Down