@mjschranz I did it as normal 'if' statement to keep code more clear.
If I should use ternary, I'll fix it, of course.