mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-10-21 23:01:37 +02:00
fix: keep related fact views in place and clarify import outcomes
This commit is contained in:
1 parent
fa4e5ef4cb
commit
bb96a084e0
9 files changed
+96
-20
No files matched your search
@@ -2719,7 +2719,10 @@
|
||||
submit.disabled = !action || renameIncomplete;
|
||||
if (action === 'overwrite') submit.textContent = workflowPackageText('workflows.package.resolution.continueOverwrite', '继续确认覆盖');
|
||||
else if (action === 'rename') submit.textContent = workflowPackageText('workflows.package.resolution.confirmRename', '确认另存');
|
||||
else submit.textContent = action === 'create' ? workflowPackageText('workflows.package.resolution.confirmCreate', '确认创建') : workflowPackageText('workflows.package.resolution.confirmComplete', '确认完成');
|
||||
else if (action === 'create') submit.textContent = workflowPackageText('workflows.package.resolution.confirmCreate', '确认创建');
|
||||
else submit.textContent = conflictState === 'identical'
|
||||
? workflowPackageText('workflows.package.resolution.confirmSkip', '确认跳过导入')
|
||||
: workflowPackageText('workflows.package.resolution.confirmKeep', '确认保留本地版本');
|
||||
}
|
||||
workflowPackageSetStep('import');
|
||||
}
|
||||
@@ -2775,7 +2778,11 @@
|
||||
const submit = workflowPackageSubmitBtn();
|
||||
if (submit) {
|
||||
submit.disabled = true;
|
||||
submit.textContent = workflowPackageText('workflows.package.result.completedAction', '导入已完成');
|
||||
submit.textContent = result === 'skipped_identical'
|
||||
? workflowPackageText('workflows.package.result.skippedAction', '已跳过导入')
|
||||
: result === 'kept_existing'
|
||||
? workflowPackageText('workflows.package.result.keptAction', '已保留本地版本')
|
||||
: workflowPackageText('workflows.package.result.completedAction', '导入已完成');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user