Stop and route autosuggest broken with no favourites stops/stations

Expected Behavior

If user has no favourites stops, UI doesn't attempt to fetch information regarding favourites stops from geocoding.

Actual Behavior

UI does a broken query to geocoding every time user clicks stop/route autosuggest which breaks it

Steps to Reproduce

1. Click stop/route search in https://next-dev.digitransit.fi/etusivu

Environment

None

Description

None

Assignee

Unassigned

Reporter

Joel Lappalainen

More details from

None

Priority

Medium

Recurrence

None

User Agent

None

URL

None

Components

Story Points

None

Labels

None

Epic Link

Configure