Thank you @cpradio I’ve fixed it thanks to your advice.
I’ve changed “approve post count” to some number. After that “Needs Approval” showed in “hamburger” menu where I found one post pending. I think that this behaviour should be considered as a bug and solution would be to add an additional check for showing this “Needs Approval” item in the menu, something like this in pseudocode:
if settings.approve_post_count == 0 and pending_posts == 0:
menu.needs_approval.hide()