Browse Source
Fix not add entityLabel for header action open dashboard state (#2601)
pull/2616/head
Vladyslav
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
ui/src/app/components/widget/widget.controller.js
|
|
|
@ -152,7 +152,7 @@ export default function WidgetController($scope, $state, $timeout, $window, $ocL |
|
|
|
var entityInfo = getActiveEntityInfo(); |
|
|
|
var entityId = entityInfo ? entityInfo.entityId : null; |
|
|
|
var entityName = entityInfo ? entityInfo.entityName : null; |
|
|
|
var entityLabel = entityInfo && entityInfo.label ? entityInfo.label : null; |
|
|
|
var entityLabel = entityInfo && entityInfo.entityLabel ? entityInfo.entityLabel : null; |
|
|
|
handleWidgetAction($event, this.descriptor, entityId, entityName, null, entityLabel); |
|
|
|
} |
|
|
|
widgetContext.customHeaderActions.push(headerAction); |
|
|
|
|