Run History Export Data Patch (#3712)

Co-authored-by: frutescens <info@laptop>
This commit is contained in:
Mumble 2024-08-23 12:30:44 -07:00 committed by GitHub
parent c5a66326dd
commit 929da80037
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -1366,7 +1366,8 @@ export class GameData {
} else {
const data = localStorage.getItem(dataKey);
if (data) {
handleData(decrypt(data, bypassLogin));
handleData(decrypt(data, (dataType !== GameDataType.RUN_HISTORY) ? bypassLogin : true));
// This conditional is necessary because at the moment, run history is stored locally only so it has to be decoded from Base64 as if it was local
}
resolve(!!data);
}