Commit 39ba550d411181d8025ce20f33cc4cf6c5b47888

Authored by Vladyslav
Committed by GitHub
1 parent e8fffdbc

Fix not add entityLabel for header action open dashboard state (#2601)

... ... @@ -152,7 +152,7 @@ export default function WidgetController($scope, $state, $timeout, $window, $ocL
152 152 var entityInfo = getActiveEntityInfo();
153 153 var entityId = entityInfo ? entityInfo.entityId : null;
154 154 var entityName = entityInfo ? entityInfo.entityName : null;
155   - var entityLabel = entityInfo && entityInfo.label ? entityInfo.label : null;
  155 + var entityLabel = entityInfo && entityInfo.entityLabel ? entityInfo.entityLabel : null;
156 156 handleWidgetAction($event, this.descriptor, entityId, entityName, null, entityLabel);
157 157 }
158 158 widgetContext.customHeaderActions.push(headerAction);
... ...