Answer for The secundary menu is not working

Hello
I have the same issue with my homepage and my blogpage
The conditions for primary menu is set for front-page else secondary in header.php
But a blog page is consider as a front-page isn’it ? like a st