mirror of
https://github.com/apache/nifi.git
synced 2025-02-07 02:28:31 +00:00
NIFI-5186:
- Addressing sort issue discovered during PR. This closes #2722 Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
This commit is contained in:
parent
568288dbcd
commit
0305ca0fb8
@ -823,9 +823,9 @@
|
||||
aState = nfCommon.isDefinedAndNotNull(a.component[sortDetails.columnId]) ? a.component[sortDetails.columnId] : '';
|
||||
}
|
||||
var bState;
|
||||
if (a.component.validationStatus === 'VALIDATING') {
|
||||
if (b.component.validationStatus === 'VALIDATING') {
|
||||
bState = 'Validating';
|
||||
} else if (a.component.validationStatus === 'INVALID') {
|
||||
} else if (b.component.validationStatus === 'INVALID') {
|
||||
bState = 'Invalid';
|
||||
} else {
|
||||
bState = nfCommon.isDefinedAndNotNull(b.component[sortDetails.columnId]) ? b.component[sortDetails.columnId] : '';
|
||||
|
@ -273,9 +273,9 @@
|
||||
aState = nfCommon.isDefinedAndNotNull(a.component[sortDetails.columnId]) ? a.component[sortDetails.columnId] : '';
|
||||
}
|
||||
var bState;
|
||||
if (a.component.validationStatus === 'VALIDATING') {
|
||||
if (b.component.validationStatus === 'VALIDATING') {
|
||||
bState = 'Validating';
|
||||
} else if (a.component.validationStatus === 'INVALID') {
|
||||
} else if (b.component.validationStatus === 'INVALID') {
|
||||
bState = 'Invalid';
|
||||
} else {
|
||||
bState = nfCommon.isDefinedAndNotNull(b.component[sortDetails.columnId]) ? b.component[sortDetails.columnId] : '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user