Skip to content

Commit

Permalink
Bug fixed if routes are not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrands committed Nov 8, 2021
1 parent 5417126 commit a8909cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MeetUpPlanner/Client/Pages/NewMeetUp.razor
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<EditForm Model="@meetup" OnValidSubmit="OnSave">
<DataAnnotationsValidator />

@if (String.IsNullOrEmpty(ItemId) && !String.IsNullOrEmpty(AppStateStore.ClientSettings.RouteTagForQuickSelection) && null != _standardRoutes && _standardRoutes.Count() > 0)
@if (String.IsNullOrEmpty(ItemId) && AppStateStore.Tenant.TracksEnabled && !String.IsNullOrEmpty(AppStateStore.ClientSettings.RouteTagForQuickSelection) && null != _standardRoutes && _standardRoutes.Count() > 0)
{
<div class="form-group">
<label for="SelectMeetingPlace">Auswahl Standard-Route</label>
Expand Down Expand Up @@ -365,7 +365,7 @@

AppStateStore.RouteArg = null;
}
else
else if (AppStateStore.Tenant.TracksEnabled)
{
_standardRoutes = await GetListOfStandardRoutes();
}
Expand Down

0 comments on commit a8909cc

Please sign in to comment.