Governance: block clear sync errors when synced_only present
This commit is contained in:
@@ -167,6 +167,10 @@ class PlatformOrderToolsGuard
|
||||
return '当前已勾选「只看可同步」:该集合与「同步失败」互斥,请先取消只看可同步或切到失败集合后再清理。';
|
||||
}
|
||||
|
||||
if ((string) ($filters['synced_only'] ?? '') === '1') {
|
||||
return '当前已勾选「只看已同步」:该集合与「同步失败」治理集合无关,请先取消只看已同步或切到失败集合后再清理。';
|
||||
}
|
||||
|
||||
$hasAnyFailedScope = ($syncStatus === 'failed')
|
||||
|| ((string) ($filters['fail_only'] ?? '') === '1')
|
||||
|| (trim((string) ($filters['sync_error_keyword'] ?? '')) !== '');
|
||||
|
||||
Reference in New Issue
Block a user