mirror of https://github.com/apache/nifi.git
NIFI-341:
- Ensuring existing selection is cleared when adding a new label to the graph.
This commit is contained in:
parent
685035a867
commit
e0390ec3f4
|
@ -882,7 +882,9 @@ nf.CanvasToolbox = (function () {
|
|||
nf.Client.setRevision(response.revision);
|
||||
|
||||
// add the label to the graph
|
||||
nf.Label.add(response.label, true);
|
||||
nf.Graph.add({
|
||||
'labels': [response.label]
|
||||
}, true);
|
||||
|
||||
// update the birdseye
|
||||
nf.Birdseye.refresh();
|
||||
|
|
Loading…
Reference in New Issue