diff --git a/waltz-ng/client/actor/components/actor-overview.html b/waltz-ng/client/actor/components/actor-overview.html index 1fe18ee9ce..c3f962453d 100644 --- a/waltz-ng/client/actor/components/actor-overview.html +++ b/waltz-ng/client/actor/components/actor-overview.html @@ -16,56 +16,64 @@ ~ --> -
-
-
- -
-
+
+
+
+
+ +
+
+
-
-
-
- -
-
- - +
+
+ +
+
+ + +
-
-
-
- -
-
+
+
+ +
+
+
-
-
-
- -
-
+
+
+ +
+
+
+
+ + + +
+
\ No newline at end of file diff --git a/waltz-ng/client/actor/components/actor-overview.js b/waltz-ng/client/actor/components/actor-overview.js index 2a0e44bd6b..c2387a298d 100644 --- a/waltz-ng/client/actor/components/actor-overview.js +++ b/waltz-ng/client/actor/components/actor-overview.js @@ -36,7 +36,7 @@ function controller() { vm.$onChanges = (changes) => { if (vm.actor) { - vm.entityRef = { + vm.parentEntityRef = { kind: "ACTOR", id: vm.actor.id }; diff --git a/waltz-ng/client/assessments/components/sub-section/assessment-rating-sub-section.js b/waltz-ng/client/assessments/components/sub-section/assessment-rating-sub-section.js index a8deafd119..85a92332d1 100644 --- a/waltz-ng/client/assessments/components/sub-section/assessment-rating-sub-section.js +++ b/waltz-ng/client/assessments/components/sub-section/assessment-rating-sub-section.js @@ -25,7 +25,7 @@ import {resolveResponses} from "../../../common/promise-utils"; const bindings = { - parentEntityRef: "<" + parentEntityRef: " { - loadAll(); - vm.useExternalEditorPage = _.includes(["CHANGE_UNIT"], vm.parentEntityRef.kind); + vm.$onChanges = () => { + if (vm.parentEntityRef) { + loadAll(); + vm.useExternalEditorPage = _.includes(["CHANGE_UNIT"], vm.parentEntityRef.kind); + } }; diff --git a/waltz-ng/client/assessments/pages/view/assessment-definition-view.html b/waltz-ng/client/assessments/pages/view/assessment-definition-view.html index 0d88a8bb7f..cd0d98c203 100644 --- a/waltz-ng/client/assessments/pages/view/assessment-definition-view.html +++ b/waltz-ng/client/assessments/pages/view/assessment-definition-view.html @@ -42,6 +42,7 @@