u
This commit is contained in:
@@ -284,6 +284,17 @@ export function getManifestDirtyDetails(current, baseline) {
|
||||
|
||||
if (curLines.length !== baseLines.length) {
|
||||
fields.lines = true;
|
||||
} else {
|
||||
for (let i = 0; i < curLines.length; i++) {
|
||||
const cl = curLines[i];
|
||||
const bl = baseLines[i];
|
||||
const clIdentifier = cl?.key ?? (cl?.id != null ? `id-${cl.id}` : null);
|
||||
const blIdentifier = bl?.key ?? (bl?.id != null ? `id-${bl.id}` : null);
|
||||
if (clIdentifier && blIdentifier && clIdentifier !== blIdentifier) {
|
||||
fields.lines = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (let i = 0; i < curLines.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user