Do Not Show Categories In Menu If They Are Empty

Hello.

I have an e-shop connected with an erp software.

ERP sends the categories Active, even though they are empty.

I want to filter this and show categories only if they have some content to show.

Is there any way to do this?

Unfortunately, it is not possible out of the box. Additional custom development work is required