RightToAskOrg / righttoask-app

GNU General Public License v3.0
3 stars 2 forks source link

Making pages that don't get used #85

Open vteague opened 2 years ago

vteague commented 2 years ago

In lines 20-25 of NavigationUtils.cs, there's a confusing construction of a couple of pages that don't actually get used in the event that MPs are not initialised.

Current behaviour: User-facing behaviour isn't actually wrong, but the app is making pages that aren't needed.

Intended behaviour: Don't build pages that aren't needed. In particular, don't build this page if we don't know our MPs.