NIFI-7742: remove defined and null check

This closes #4524

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
This commit is contained in:
Shane Ardell 2020-09-11 17:21:20 -04:00 committed by Scott Aslan
parent 80bc40a9af
commit dc4daa2923
1 changed files with 4 additions and 6 deletions

View File

@ -319,13 +319,11 @@
break;
case 'controller service':
var group = item.parentGroup;
if (nfCommon.isDefinedAndNotNull(group.id)) {
nfProcessGroup.enterGroup(group.id).done(function () {
nfProcessGroupConfiguration.showConfiguration(group.id).done(function () {
nfProcessGroupConfiguration.selectControllerService(item.id);
});
nfProcessGroup.enterGroup(group.id).done(function () {
nfProcessGroupConfiguration.showConfiguration(group.id).done(function () {
nfProcessGroupConfiguration.selectControllerService(item.id);
});
}
});
break;
default:
var group = item.parentGroup;