修复了一处赋值错误

This commit is contained in:
cc
2026-04-13 19:32:54 +08:00
parent 8f7ece7691
commit 7aeff80bf9

View File

@@ -164,7 +164,7 @@ function AccountManagementPage() {
modifiedTime: Number(scanned.modifiedTime || 0),
configUpdatedAt: Number(matchedConfig?.value?.updatedAt || 0),
hasConfig: Boolean(matchedConfig),
isCurrent: normalizedCurrent && normalized === normalizedCurrent,
isCurrent: Boolean(normalizedCurrent) && normalized === normalizedCurrent,
fromScan: true
})
}
@@ -189,7 +189,7 @@ function AccountManagementPage() {
modifiedTime: 0,
configUpdatedAt: Number(matchedConfig.value?.updatedAt || 0),
hasConfig: true,
isCurrent: normalizedCurrent && normalized === normalizedCurrent,
isCurrent: Boolean(normalizedCurrent) && normalized === normalizedCurrent,
fromScan: false
})
}