13962 disabling work package status does not work for details pane

[``* `#13962`Disabling work package status does not work in details pane``](https://www.openproject.org/work_packages/13962)
In fact it would be ``unless`` instead of ``if`` - I change it accordingly! Thanks for the hint! :+1: