fix - JS error "values of undefined" on a missing reference in a column#751
Conversation
There was a problem hiding this comment.
scope.value = scope.entry.values ? scope.entry.values[scope.field.name()] : ''; is better IMO.
There was a problem hiding this comment.
it's not that .values is undefined, it's that .entry is undefined, so the one-liner will still end up with Uncaught TypeError: Cannot read property 'values' of undefined
There was a problem hiding this comment.
as for relying on truethiness vs. checking typeof, this could turn into a holy war which is far from my intent, so whichever is consistent with the project's guidelines is fine by me.
|
I really don't understand why the build fails on this PR. I've restarted it three times. Could you try rebasing on master? |
75ef3ab to
9b1d8a7
Compare
|
rebased, still same failure. I have no idea what's causing it. |
fix - JS error "values of undefined" on a missing reference in a column
|
OK, merging with hope that the faulty CI worker was only on your branch... |
|
Thanks. This is so weird. I can't explain it. |
fixes #750