DEV: Fix a computed property overwrite (PR #14927)

There’s a category computed property that already does what this piece of code did.

GitHub