mirror of https://github.com/apache/nifi.git
NIFI-861:
- Addressing issue with blank processor names when attempting to generate ellipsis on the canvas.
This commit is contained in:
parent
740b09b182
commit
ffa7ceb2b1
|
@ -289,7 +289,7 @@ nf.CanvasUtils = (function () {
|
|||
selection.text(text);
|
||||
|
||||
// see if the field is too big for the field
|
||||
if (node.getSubStringLength(0, text.length - 1) > width) {
|
||||
if (text.length > 0 && node.getSubStringLength(0, text.length - 1) > width) {
|
||||
// make some room for the ellipsis
|
||||
width -= 5;
|
||||
|
||||
|
|
Loading…
Reference in New Issue