Please do not compose ternary operator into several lines.
Either put entire ternary operator code at the single line or use good old "if" statement.