We need to use a computed property which uses router's current state <code>name</code> property to determine the selected menu item instead of doing it procedurally