[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[GitHub] brooklyn-ui pull request #66: recognize memberSpec anywhere, and refresh blu...
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-ui/pull/66#discussion_r213249760
--- Diff: ui-modules/blueprint-composer/app/components/util/model/entity.model.js ---
@@ -115,6 +116,8 @@ export class Entity {
*
*/
touch() {
+ // include a summary to aid with debugging (otherwise log just shows the property lastUpdated)
+ this.summary = (this.type || "unset") + (this.id ? " "+this.id : "");
--- End diff --
without this when we `console.log(entity)` we can't identify different entities, and it looks weird, as it just shows `Entity { lastUpdated: xxxx }`.
---