Fix cloud backup restore runtime refresh

This commit is contained in:
Hao19911125
2026-04-21 14:47:03 +08:00
parent 076618bc25
commit 5e238423d6
2 changed files with 50 additions and 1 deletions

View File

@@ -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",