Fix bug with saving search history
This commit is contained in:
1 parent
e08bc86334
commit
ae83c47bfe
2 files changed
+8
-1
No files matched your search
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Playlet backend parsing issue in search results
|
- Playlet backend parsing issue in search results
|
||||||
|
- Bug with saving search history
|
||||||
|
|
||||||
## [0.36.2] - 2025-02-28
|
## [0.36.2] - 2025-02-28
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,13 @@ namespace SearchHistoryUtils
|
|||||||
if history = invalid
|
if history = invalid
|
||||||
return []
|
return []
|
||||||
end if
|
end if
|
||||||
return ParseJson(history)
|
|
||||||
|
history = ParseJson(history)
|
||||||
|
if not IsArray(history)
|
||||||
|
return []
|
||||||
|
end if
|
||||||
|
|
||||||
|
return history
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function Clear()
|
function Clear()
|
||||||
|
|||||||
Reference in new issue
Block a user