mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 14:20:35 +08:00
Fix cloud backup restore runtime refresh
This commit is contained in:
6
index.js
6
index.js
@@ -5559,7 +5559,11 @@ async function refreshRuntimeGraphAfterSyncApplied(syncPayload = {}) {
|
||||
const action = String(syncPayload?.action || "")
|
||||
.trim()
|
||||
.toLowerCase();
|
||||
if (action !== "download" && action !== "merge") {
|
||||
if (
|
||||
action !== "download" &&
|
||||
action !== "merge" &&
|
||||
action !== "restore-backup"
|
||||
) {
|
||||
return {
|
||||
refreshed: false,
|
||||
reason: "action-not-supported",
|
||||
|
||||
Reference in New Issue
Block a user