mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-2297] small fix to compute caption
This commit is contained in:
parent
8552049020
commit
b86b57a1d4
1 changed files with 1 additions and 1 deletions
|
|
@ -665,7 +665,7 @@ function ParagraphCtrl($scope, $rootScope, $route, $window, $routeParams, $locat
|
|||
$scope.$on('completionList', function(event, data) {
|
||||
var computeCaption = function(value, meta) {
|
||||
var metaLength = meta !== undefined ? meta.length : 0;
|
||||
var length = 43;
|
||||
var length = 42;
|
||||
var whitespaceLength = 3;
|
||||
var ellipses = '...';
|
||||
var maxLengthCaption = length - metaLength - whitespaceLength - ellipses.length;
|
||||
|
|
|
|||
Loading…
Reference in a new issue