This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 50653450 fix tooltip in inspector->effectors (showed functions
toString, not invocation)
50653450 is described below
commit 50653450dbabe45edda326d4a2f6ac60970b2878
Author: Alex Heneveld <[email protected]>
AuthorDate: Fri Jul 1 11:17:58 2022 +0100
fix tooltip in inspector->effectors (showed functions toString, not
invocation)
---
.../app/components/entity-effector/entity-effector.directive.js | 2 +-
.../app-inspector/app/components/entity-effector/entity-effector.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/ui-modules/app-inspector/app/components/entity-effector/entity-effector.directive.js
b/ui-modules/app-inspector/app/components/entity-effector/entity-effector.directive.js
index 09e5705b..d07a53fa 100644
---
a/ui-modules/app-inspector/app/components/entity-effector/entity-effector.directive.js
+++
b/ui-modules/app-inspector/app/components/entity-effector/entity-effector.directive.js
@@ -76,7 +76,7 @@ export function entityEffectorDirective($state) {
if ($scope.activities.succeeded)
activitiesSummaryList.push($scope.activities.succeeded + " succeeded");
}
let activitiesSummary = activitiesSummaryList.join(", ");
- if (activitiesSummary) activitiesSummary = "Recent invocations: "
+ $scope.activitiesSummary;
+ if (activitiesSummary) activitiesSummary = "Recent invocations: "
+ activitiesSummary;
return activitiesSummary;
}
}
diff --git
a/ui-modules/app-inspector/app/components/entity-effector/entity-effector.html
b/ui-modules/app-inspector/app/components/entity-effector/entity-effector.html
index 7e48656f..1c92f102 100644
---
a/ui-modules/app-inspector/app/components/entity-effector/entity-effector.html
+++
b/ui-modules/app-inspector/app/components/entity-effector/entity-effector.html
@@ -29,7 +29,7 @@
</div>
<div class="row-contents">
<a ui-sref="main.inspect.activities({applicationId: applicationId,
entityId: entityId, filter: 'EFFECTOR', search: effector.name})"
- ng-if="activities && activitiesSummary()"
title="{{activitiesSummary}}"><span class="pull-right effector-pills">
+ ng-if="activities && activitiesSummary()"
title="{{activitiesSummary()}}"><span class="pull-right effector-pills">
<div class="effector-pill effector-active"
ng-if="activities.active">
<i class="fa fa-play-circle"></i>
<!-- <i class="fa fa-dot-circle-o"></i></div>-->