D3Automation / angular2-c360-sample

2 stars 0 forks source link

Show a specific property (or properties) Not Working #3

Closed AppliedDesignIntelligence closed 7 years ago

AppliedDesignIntelligence commented 7 years ago

Showing single properties does not work. It shows a blank router outlet

image

This worked just fine in the Angular 1 version

bencameron commented 7 years ago

Looks like the html for referencing specific properties was not updated when the property in the component's class was renamed (was "rootPart" -- now "part"). Updating "rootPart.Building_Height" to "part.Building_Height" (and same with other property and ngIf on containing div) will fix the problem.

I've made these changes pushed to the master branch.