Browse Source

Events page shows feature events

pull/41/head
Berkan Sasmaz 5 years ago
parent
commit
b11a4687d2
  1. 4
      src/EventHub.Web/Pages/Events/Index.cshtml

4
src/EventHub.Web/Pages/Events/Index.cshtml

@ -1,6 +1,8 @@
@page "/events" @page "/events"
@using EventHub.Web.Pages.Events.Components.EventsArea @using EventHub.Web.Pages.Events.Components.EventsArea
@using Volo.Abp.Timing
@model EventHub.Web.Pages.Events.IndexModel @model EventHub.Web.Pages.Events.IndexModel
@inject IClock Clock
@section styles { @section styles {
<abp-style-bundle> <abp-style-bundle>
@ -78,7 +80,7 @@
@await Component.InvokeAsync(typeof(EventsAreaViewComponent), new @await Component.InvokeAsync(typeof(EventsAreaViewComponent), new
{ {
organizationId = Model.OrganizationId, organizationId = Model.OrganizationId,
minDate = Model.MinDate, minDate = Model.MinDate ?? Clock.Now,
maxDate = Model.MaxDate, maxDate = Model.MaxDate,
isOnline = Model.IsOnline, isOnline = Model.IsOnline,
language = Model.Language, language = Model.Language,

Loading…
Cancel
Save