Happy holidays! This PR should fix #2, the issue I reported sometime earlier.
I made a slight stylistic change of moving the ternary operator to an if statement because I personally find nested ternary operators not very readable.
Hey @kleinerpirat, just wondering if there were any updates on this? I tested these changes on 2.1.56 as well, and it seems to work perfectly fine on my end.
Happy holidays! This PR should fix #2, the issue I reported sometime earlier.
I made a slight stylistic change of moving the ternary operator to an if statement because I personally find nested ternary operators not very readable.