mirror of https://github.com/apache/nifi.git
[NIFI-3358] remove duplicate calls to nfProcessGroupConfiguration.showConfiguration(). This closes #1540
This commit is contained in:
parent
dfd04e638b
commit
fba17159a9
|
@ -336,10 +336,6 @@
|
||||||
openConfigureOrDetailsView: function () {
|
openConfigureOrDetailsView: function () {
|
||||||
var selection = nfCanvasUtils.getSelection();
|
var selection = nfCanvasUtils.getSelection();
|
||||||
|
|
||||||
if (selection.empty()) {
|
|
||||||
nfProcessGroupConfiguration.showConfiguration(nfCanvasUtils.getGroupId());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (nfCanvasUtils.isConfigurable(selection)) {
|
if (nfCanvasUtils.isConfigurable(selection)) {
|
||||||
nfActions.showConfiguration(selection);
|
nfActions.showConfiguration(selection);
|
||||||
} else if (nfCanvasUtils.hasDetails(selection)) {
|
} else if (nfCanvasUtils.hasDetails(selection)) {
|
||||||
|
|
Loading…
Reference in New Issue