Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Angular question
Message
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01601977
Message ID:
01602066
Views:
35
>>Interesting. Does if check for existence of the property, e.g. since I just added that displayName only in one particular file, would it bomb in others?
>>
>>I am going to try your suggestion and look into ng-if in more details.
>
>If it has the potential to not exist, you'd have to check for that:
>
>
><span ng-if="column.displayName == undefined || column.displayName == ''">{{column.name}}</span>
><span ng-if="column.displayName != undefined && column.displayName != ''">{{column.displayName}}</span>
>
In my quick tests this seems to work great. I now see normal descriptions in a few views I added that new property and original bad descriptions where we don't have them.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform