Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-04-03 15:23:53 +03:00
parent 79f7fa0974
commit 2b04688905

View File

@@ -684,11 +684,8 @@ function isSelectionCompleteByOldShape (row) {
if (!hasModel) return false
const oldHasColor = String(row?.OldColor || '').trim().length > 0
const oldHasDim2 = String(row?.OldDim2 || '').trim().length > 0
const hasNewColor = normalizeShortCode(row?.NewColor, 3).length === 3
const hasNewDim2 = normalizeShortCode(row?.NewDim2, 3).length === 3
if (oldHasDim2) return hasNewColor && hasNewDim2
if (oldHasColor) return hasNewColor
return true
}