[Ôťů Solution] Falsy in calculation fields?

I use this code

const kontakt = ´╗┐@All of Name with nulls´╗┐ || ´╗┐@Pure Name´╗┐;
const mandant = ´╗┐@All of Name with nulls´╗┐ || ´╗┐@companyDomain´╗┐;

If there are no relations it should pick the value from the other field instead. Its working, when there is a relation, but if there is none, I get empty values instead of the fields after the || in the definition.

Ok - should be like this:

const kontakt = ´╗┐@All of Name with nulls´╗┐.toString() || ´╗┐@Pure Name´╗┐;
const mandant = ´╗┐@All of Name with nulls´╗┐.toString() || ´╗┐@companyDomain´╗┐;

ÔÇŽ its late already :wink:

2 Likes