mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-31 06:48:35 +00:00
fix: section updating
This commit is contained in:
parent
0557ac3280
commit
fc0c7f5c11
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "4.1.6",
|
||||
"version": "4.1.7",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
"main": "build/main.js",
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
userLists.subscribe(() => {
|
||||
const titles = sections.map(({ title }) => title)
|
||||
for (const section of manager.sections) {
|
||||
if (titles.includes(section.title)) delete section.preview
|
||||
if (titles.includes(section.title)) section.preview.value = undefined
|
||||
}
|
||||
})
|
||||
manager.add(sections)
|
||||
|
|
|
|||
Loading…
Reference in a new issue