+ {fields.map((ratioType) => (
+
+
+ {getSyncFieldLabel(ratioType)}
+
+ {renderValueTag(record.ratioTypes[ratioType]?.current, 'blue')}
+
+ ))}
+
+ );
+ };
+
+ const renderUpstreamField = (record, ratioType, upName) => {
+ const diff = record.ratioTypes[ratioType] || {};
+ const upstreamVal = diff.upstreams?.[upName];
+ const isConfident = diff.confidence?.[upName] !== false;
+ const isPreferredField =
+ getPreferredSyncField(record.model, ratioType, upName) === ratioType;
+
+ if (upstreamVal === null || upstreamVal === undefined) {
+ return renderValueTag(undefined);
+ }
+
+ if (upstreamVal === 'same') {
+ return (
+