declarationpage shown even if declaration is none

Is it intended that the whole declaration page is shown even if declaration == none

declarationpage.typ