mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 08:37:11 -05:00
Use function params
This commit is contained in:
parent
5fab04cd94
commit
b0ed5495f8
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue