Just add the following dynamic class to your button:
if $currentObject/Enum = empty then disabled else ''